From 25d9040b9e3b71d6534a7dedbfe34364f2a7ad66 Mon Sep 17 00:00:00 2001 From: MadCamel Date: Tue, 7 Apr 2009 14:52:49 +0000 Subject: New and improved anti-spam system --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index cb34569..07751bd 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -6309,7 +6309,7 @@ atcommand_npcmove(const int fd, struct map_session_data* sd, memset(character, '\0', sizeof character); - if (sscanf(message, "%d %d %99[^\n]", &x, &y, character) < 4) + if (sscanf(message, "%d %d %99[^\n]", &x, &y, character) < 3) return -1; nd=npc_name2id(character); -- cgit v1.2.3-70-g09d2