summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 5492e26b5..5ff3d56d7 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -290,7 +290,7 @@ bool CommandParser::ProcessCommand(User *user, std::string &cmd)
/* find the command, check it exists */
Commandable::iterator cm = cmdlist.find(command);
- if (cm == cmdlist.end())
+ if (cm == cmdlist.end() && user->registered == REG_ALL)
{
ServerInstance->stats->statsUnknown++;
user->WriteServ("421 %s %s :Unknown command",user->nick,command.c_str());