]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chanfilter.cpp
The last commit never happened.
[user/henk/code/inspircd.git] / src / modules / m_chanfilter.cpp
index d9e2f84f05ae6a6a44575f5c5efc793c4508d774..3c16b013d0550aba81666a84608b2fb70331df2a 100644 (file)
@@ -92,7 +92,7 @@ class ModuleChanFilter : public Module
 
        virtual int ProcessMessages(userrec* user,chanrec* chan,std::string &text)
        {
-               if (!IS_LOCAL(user) || CHANOPS_EXEMPT(ServerInstance, 'g') && chan->->GetStatus(user) == STATUS_OP)
+               if (!IS_LOCAL(user) || CHANOPS_EXEMPT(ServerInstance, 'g') && chan->GetStatus(user) == STATUS_OP)
                        return 0;
 
                // Create a copy of the string in irc::string