diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_chanfilter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp index e21ac8ca4..d9e2f84f0 100644 --- a/src/modules/m_chanfilter.cpp +++ b/src/modules/m_chanfilter.cpp @@ -92,7 +92,7 @@ class ModuleChanFilter : public Module virtual int ProcessMessages(userrec* user,chanrec* chan,std::string &text) { - if (!IS_LOCAL(user)) + if (!IS_LOCAL(user) || CHANOPS_EXEMPT(ServerInstance, 'g') && chan->->GetStatus(user) == STATUS_OP) return 0; // Create a copy of the string in irc::string @@ -112,6 +112,7 @@ class ModuleChanFilter : public Module } } } + return 0; } |