From e3e748b78683ac005b4c85360806ea6ec27d40c9 Mon Sep 17 00:00:00 2001 From: peavey Date: Fri, 27 Jun 2008 17:39:43 +0000 Subject: Make gcc 4.3 whine less git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9940 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chanfilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp index 4a5dcb2b3..d70f4a270 100644 --- a/src/modules/m_chanfilter.cpp +++ b/src/modules/m_chanfilter.cpp @@ -86,7 +86,7 @@ class ModuleChanFilter : public Module virtual int ProcessMessages(User* user,Channel* 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 -- cgit v1.2.3