summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/atcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.cpp b/src/map/atcommand.cpp
index 18ea0e0..05e49c0 100644
--- a/src/map/atcommand.cpp
+++ b/src/map/atcommand.cpp
@@ -1781,7 +1781,7 @@ int atcommand_help(const int fd, dumb_ptr<map_session_data> sd,
if (!split_key_value(line, &w1, &w2))
continue;
int level;
- extract(w1, &level);
+ extract(w1.strip(), &level);
if (gm_level >= level)
clif_displaymessage(fd, w2);
}