|
@@ -9577,10 +9577,10 @@ ACMD_FUNC(vip) {
|
|
|
ACMD_FUNC(showrate) {
|
|
|
nullpo_retr(-1,sd);
|
|
|
if (!sd->vip.disableshowrate) {
|
|
|
- sprintf(atcmd_output,msg_txt(sd,718)); //Personal rate information is not displayed now.
|
|
|
+ safestrncpy(atcmd_output,msg_txt(sd,718),CHAT_SIZE_MAX); //Personal rate information is not displayed now.
|
|
|
sd->vip.disableshowrate = 1;
|
|
|
} else {
|
|
|
- sprintf(atcmd_output,msg_txt(sd,719)); //Personal rate information will be shown.
|
|
|
+ safestrncpy(atcmd_output,msg_txt(sd,719),CHAT_SIZE_MAX); //Personal rate information will be shown.
|
|
|
sd->vip.disableshowrate = 0;
|
|
|
}
|
|
|
clif_displaymessage(fd,atcmd_output);
|