summaryrefslogtreecommitdiff
path: root/src/map/trade.c
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-06-13 05:00:57 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-06-13 05:00:57 +0000
commitcc28e7f29c421fb5eb9b6f27b7852e8df8718b2f (patch)
tree73855167aeffd4fbd285e776fefa8691f9ddf452 /src/map/trade.c
parent0580db8bf96e58c76f0b743003fb707a8dc2e4de (diff)
downloadhercules-cc28e7f29c421fb5eb9b6f27b7852e8df8718b2f.tar.gz
hercules-cc28e7f29c421fb5eb9b6f27b7852e8df8718b2f.tar.bz2
hercules-cc28e7f29c421fb5eb9b6f27b7852e8df8718b2f.tar.xz
hercules-cc28e7f29c421fb5eb9b6f27b7852e8df8718b2f.zip
Changed a few sprintf's that had no format arguments to strcpy's.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13887 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/trade.c')
-rw-r--r--src/map/trade.c4
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;