summaryrefslogtreecommitdiff
path: root/src/modules/m_rmode.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-08-30 16:19:31 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-08-30 16:19:31 +0200
commite0931343939bc15ea9aaa884eab61d80827074c6 (patch)
tree7842c30db2823be50e739412e097fa899bb5ea6c /src/modules/m_rmode.cpp
parentcf6a8ee7e3fb11ea19d627216f53118c563a0a71 (diff)
Change Membership:hasMode() to accept a PrefixMode
Diffstat (limited to 'src/modules/m_rmode.cpp')
-rw-r--r--src/modules/m_rmode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_rmode.cpp b/src/modules/m_rmode.cpp
index feb17383d..37c6e62ff 100644
--- a/src/modules/m_rmode.cpp
+++ b/src/modules/m_rmode.cpp
@@ -70,7 +70,7 @@ class CommandRMode : public Command
{
if (!InspIRCd::Match(it->first->nick, pattern))
continue;
- if (it->second->hasMode(modeletter) && !((it->first == user) && (pm->GetPrefixRank() > VOICE_VALUE)))
+ if (it->second->HasMode(pm) && !((it->first == user) && (pm->GetPrefixRank() > VOICE_VALUE)))
changelist.push_remove(mh, it->first->nick);
}
}