diff options
Diffstat (limited to 'src/modules/m_sanick.cpp')
-rw-r--r-- | src/modules/m_sanick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sanick.cpp b/src/modules/m_sanick.cpp index 722c9596d..cf093d28a 100644 --- a/src/modules/m_sanick.cpp +++ b/src/modules/m_sanick.cpp @@ -47,7 +47,7 @@ class CommandSanick : public Command return CMD_FAILURE; } - if (!target) + if ((!target) || (target->registered != REG_ALL)) { user->WriteServ("NOTICE %s :*** No such nickname: '%s'", user->nick.c_str(), parameters[0].c_str()); return CMD_FAILURE; |