summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-26 15:18:32 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-26 15:18:32 +0000
commitfc0d5f95143fe79e65992a971c0c0b80f89c8c51 (patch)
tree80d560d555218e7e19fe4e0717000da249549398 /src/map/clif.c
parent5514b1d63acfbe0fa0e51a855679769d4f013e35 (diff)
downloadhercules-fc0d5f95143fe79e65992a971c0c0b80f89c8c51.tar.gz
hercules-fc0d5f95143fe79e65992a971c0c0b80f89c8c51.tar.bz2
hercules-fc0d5f95143fe79e65992a971c0c0b80f89c8c51.tar.xz
hercules-fc0d5f95143fe79e65992a971c0c0b80f89c8c51.zip
Added an out-of-bounds crashfix for map_delobject and map_delobjectnofree.
Added missing EOL to the 'hack on namerequest' console message. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12142 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 5700aa435..5dde04300 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8072,7 +8072,7 @@ void clif_parse_GetCharNameRequest(int fd, struct map_session_data *sd)
//Possible bot? Thanks to veider and qspirit
//FIXME: Still isn't perfected as clients keep asking for this on legitimate situations.
char gm_msg[256];
- sprintf(gm_msg, "Hack on NameRequest: character '%s' (account: %d) requested the name of an invisible target.", sd->status.name, sd->status.account_id);
+ sprintf(gm_msg, "Hack on NameRequest: character '%s' (account: %d) requested the name of an invisible target.\n", sd->status.name, sd->status.account_id);
ShowWarning(gm_msg);
// information is sended to all online GM
intif_wis_message_to_gm(wisp_server_name, battle_config.hack_info_GM_level, gm_msg);