summaryrefslogtreecommitdiff
path: root/src/modules/m_nickflood.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_nickflood.cpp')
-rw-r--r--src/modules/m_nickflood.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nickflood.cpp b/src/modules/m_nickflood.cpp
index 61347ded0..6de6b235c 100644
--- a/src/modules/m_nickflood.cpp
+++ b/src/modules/m_nickflood.cpp
@@ -119,7 +119,7 @@ class NickFlood : public ModeHandler
}
else
{
- if (!channel->IsModeSet('F'))
+ if (!channel->IsModeSet(this))
return MODEACTION_DENY;
ext.unset(channel);