summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/command_parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index 67fc05231..e4c987c19 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -294,7 +294,7 @@ bool CommandParser::ProcessCommand(User *user, std::string &cmd)
* Thanks dz for making me actually understand why this is necessary!
* -- w00t
*/
- Commandtable::iterator cm = cmdlist.find(command);
+ cm = cmdlist.find(command);
if (cm == cmdlist.end())
{
if (user->registered == REG_ALL)