diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_chanprotect.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index 369703d2c..8a842b626 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -147,10 +147,6 @@ class ChanFounder : public ModeHandler, public FounderProtectBase ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding) { - User* theuser = ServerInstance->FindNick(parameter); - - if (!theuser) - return MODEACTION_DENY; return MODEACTION_ALLOW; } @@ -218,11 +214,6 @@ class ChanProtect : public ModeHandler, public FounderProtectBase ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding) { - User* theuser = ServerInstance->FindNick(parameter); - - if (!theuser) - return MODEACTION_DENY; - return MODEACTION_ALLOW; } |