diff options
Diffstat (limited to 'src/map/trade.c')
-rw-r--r-- | src/map/trade.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/trade.c b/src/map/trade.c index 7d6a4c8b2..f7f986ac7 100644 --- a/src/map/trade.c +++ b/src/map/trade.c @@ -203,7 +203,7 @@ int impossible_trade_check(struct map_session_data *sd) chrif_char_ask_name(-1, sd->status.name, 1, 0, 0, 0, 0, 0, 0); // type: 1 - block set_eof(sd->fd); // forced to disconnect because of the hack // message about the ban - sprintf(message_to_gm, msg_txt(540)); // This player has been definitivly blocked. + strcpy(message_to_gm, msg_txt(540)); // This player has been definitively blocked. // if we ban people } else if (battle_config.ban_hack_trade > 0) { chrif_char_ask_name(-1, sd->status.name, 2, 0, 0, 0, 0, battle_config.ban_hack_trade, 0); // type: 2 - ban (year, month, day, hour, minute, second) @@ -212,7 +212,7 @@ int impossible_trade_check(struct map_session_data *sd) sprintf(message_to_gm, msg_txt(507), battle_config.ban_hack_trade); // This player has been banned for %d minute(s). } else // message about the ban - sprintf(message_to_gm, msg_txt(508)); // This player hasn't been banned (Ban option is disabled). + strcpy(message_to_gm, msg_txt(508)); // This player hasn't been banned (Ban option is disabled). intif_wis_message_to_gm(wisp_server_name, battle_config.hack_info_GM_level, message_to_gm); return 1; |