summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2009-04-07 14:52:49 +0000
committerJared Adams <jaxad0127@gmail.com>2009-04-09 07:01:45 -0600
commit25d9040b9e3b71d6534a7dedbfe34364f2a7ad66 (patch)
treec6ee0579c4d3ebb6b61cf89345ad99602e526a5e /src/map/atcommand.c
parente4b494e5b6540c88c597c67df114c0328ea9d7b7 (diff)
downloadtmwa-25d9040b9e3b71d6534a7dedbfe34364f2a7ad66.tar.gz
tmwa-25d9040b9e3b71d6534a7dedbfe34364f2a7ad66.tar.bz2
tmwa-25d9040b9e3b71d6534a7dedbfe34364f2a7ad66.tar.xz
tmwa-25d9040b9e3b71d6534a7dedbfe34364f2a7ad66.zip
New and improved anti-spam system
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
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);