diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-08-30 16:19:31 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-08-30 16:19:31 +0200 |
commit | e0931343939bc15ea9aaa884eab61d80827074c6 (patch) | |
tree | 7842c30db2823be50e739412e097fa899bb5ea6c /src/modules/m_rmode.cpp | |
parent | cf6a8ee7e3fb11ea19d627216f53118c563a0a71 (diff) |
Change Membership:hasMode() to accept a PrefixMode
Diffstat (limited to 'src/modules/m_rmode.cpp')
-rw-r--r-- | src/modules/m_rmode.cpp | 2 |
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); } } |