aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_channelban.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-31 00:03:39 +0000
committerGravatar Sadie Powell2022-01-31 00:03:47 +0000
commit54db5b5e0aa65eac64ca3ce783a7bdb400134656 (patch)
tree930e3674b64275d45e6f3c7185160af3ac036f65 /src/modules/m_channelban.cpp
parentFix a bunch of weird uses of .c_str(). (diff)
Fix the case of Membership::GetRank.
Diffstat (limited to 'src/modules/m_channelban.cpp')
-rw-r--r--src/modules/m_channelban.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_channelban.cpp b/src/modules/m_channelban.cpp
index 0658edfdf..c2d396bcd 100644
--- a/src/modules/m_channelban.cpp
+++ b/src/modules/m_channelban.cpp
@@ -49,7 +49,7 @@ public:
{
if (!InspIRCd::Match(memb->chan->name, target))
continue;
- if (!status || memb->getRank() >= mh->GetPrefixRank())
+ if (!status || memb->GetRank() >= mh->GetPrefixRank())
return true;
}
return false;