summaryrefslogtreecommitdiff
path: root/src/modules/m_sakick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_sakick.cpp')
-rw-r--r--src/modules/m_sakick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sakick.cpp b/src/modules/m_sakick.cpp
index efd991ff0..7dfcd8904 100644
--- a/src/modules/m_sakick.cpp
+++ b/src/modules/m_sakick.cpp
@@ -39,7 +39,7 @@ class CommandSakick : public Command
Channel* channel = ServerInstance->FindChan(parameters[0]);
const char* reason = "";
- if (dest && channel)
+ if ((dest) && (dest->registered == REG_ALL) && (channel))
{
if (parameters.size() > 2)
{