summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-05-17 20:10:51 -0400
committerAdam <Adam@anope.org>2017-05-17 20:10:51 -0400
commita92b6b7af463135ed5f84f0ed640b9416db684ef (patch)
treec282a80444ecb8acf68e043217178e231dd2f319 /src/modules
parentfc4fc43ec232407b38d7ca182cb92c5cac4287aa (diff)
m_override: fix parentheses compiler warning
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_override.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp
index 2c2d6a3a2..3266d3eb0 100644
--- a/src/modules/m_override.cpp
+++ b/src/modules/m_override.cpp
@@ -102,7 +102,7 @@ class ModuleOverride : public Module
{
// If the kicker's status is less than the target's, or the kicker's status is less than or equal to voice
if ((memb->chan->GetPrefixValue(source) < memb->getRank()) || (memb->chan->GetPrefixValue(source) <= VOICE_VALUE) ||
- (memb->chan->GetPrefixValue(source) == HALFOP_VALUE) && (memb->getRank() == HALFOP_VALUE))
+ (memb->chan->GetPrefixValue(source) == HALFOP_VALUE && memb->getRank() == HALFOP_VALUE))
{
ServerInstance->SNO->WriteGlobalSno('v',source->nick+" used oper override to kick "+memb->user->nick+" on "+memb->chan->name+" ("+reason+")");
return MOD_RES_ALLOW;