diff options
| author | 2008-01-08 10:38:36 +0000 | |
|---|---|---|
| committer | 2008-01-08 10:38:36 +0000 | |
| commit | b1c44fb9e43d3431e046c97e19172b193ac55c97 (patch) | |
| tree | f15737fcdc1d7da2e64d5fef5af08a73cb08c25d /src/command_parse.cpp | |
| parent | I swear I've fixed this 5 times now.. it's PERMANENT, USE A FUCKING DICTIONAR... (diff) | |
Backport r8661: don't send 421 to unregistered clients
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8662 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/command_parse.cpp')
| -rw-r--r-- | src/command_parse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 183d0f763..25d1ab650 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -374,7 +374,7 @@ void CommandParser::ProcessCommand(userrec *user, std::string &cmd) } } } - else if (user) + else if (user && user->registered == REG_ALL) { ServerInstance->stats->statsUnknown++; user->WriteServ("421 %s %s :Unknown command",user->nick,command.c_str()); |
