summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-06-27 17:39:43 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-06-27 17:39:43 +0000
commite3e748b78683ac005b4c85360806ea6ec27d40c9 (patch)
treecfc9cc32387318f823e2ee160f81ef384abeb74a /src/modules
parentb32337e82052eb423a8fb552fb0509643221eed9 (diff)
Make gcc 4.3 whine less
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9940 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_chanfilter.cpp2
1 files changed, 1 insertions, 1 deletions
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