diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_invisible.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_invisible.cpp b/src/modules/m_invisible.cpp index ee6334f5e..9313c65da 100644 --- a/src/modules/m_invisible.cpp +++ b/src/modules/m_invisible.cpp @@ -57,7 +57,7 @@ class InvisibleMode : public ModeHandler ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding) { - if ((source != dest) && (!*source->oper)) + if (source != dest) return MODEACTION_DENY; if (dest->IsModeSet('Q') != adding) |