summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-12-28 23:06:10 +0000
committersketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-12-28 23:06:10 +0000
commit62abcab88e35be2057c73271884e70c0950758f4 (patch)
tree4f2986c099ae8e54bac3864d89d90227808e64a2 /src
parentf177a358c994824cc937607cf8bb718d47e63de8 (diff)
downloadhercules-62abcab88e35be2057c73271884e70c0950758f4.tar.gz
hercules-62abcab88e35be2057c73271884e70c0950758f4.tar.bz2
hercules-62abcab88e35be2057c73271884e70c0950758f4.tar.xz
hercules-62abcab88e35be2057c73271884e70c0950758f4.zip
Corrected typo in @adjcmdlvl's parameter check.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13419 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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 90a7b82a0..51142cf97 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -6586,7 +6586,7 @@ int atcommand_adjcmdlvl(const int fd, struct map_session_data* sd, const char* c
nullpo_retr(-1, sd);
- if (!message || !*message || sscanf(message, "%d %d %99s", &newlev, &newremotelev, name) != 2)
+ if (!message || !*message || sscanf(message, "%d %d %99s", &newlev, &newremotelev, name) != 3)
{
clif_displaymessage(fd, "Usage: @adjcmdlvl <lvl> <remote lvl> <command>.");
return -1;