diff options
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 74567bb..6536e00 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -5560,7 +5560,7 @@ int atcommand_broadcast( return -1; } - sprintf(output, "%s : %s", sd->status.name, message); + snprintf(output, 199, "%s : %s", sd->status.name, message); intif_GMmessage(output, strlen(output) + 1, 0); return 0; @@ -5583,7 +5583,7 @@ int atcommand_localbroadcast( return -1; } - sprintf(output, "%s : %s", sd->status.name, message); + snprintf(output, 199, "%s : %s", sd->status.name, message); clif_GMmessage(&sd->bl, output, strlen(output) + 1, 1); // 1: ALL_SAMEMAP |