diff options
Diffstat (limited to 'src/modules/m_uninvite.cpp')
-rw-r--r-- | src/modules/m_uninvite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_uninvite.cpp b/src/modules/m_uninvite.cpp index 618e23892..10fd7c7b6 100644 --- a/src/modules/m_uninvite.cpp +++ b/src/modules/m_uninvite.cpp @@ -40,7 +40,7 @@ class CommandUninvite : public Command User* u = ServerInstance->FindNick(parameters[0]); Channel* c = ServerInstance->FindChan(parameters[1]); - if ((!c) || (!u)) + if ((!c) || (!u) || (u->registered != REG_ALL)) { if (!c) { |