aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_exemptchanops.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-05-17 13:41:40 +0100
committerGravatar Sadie Powell2022-05-17 13:45:18 +0100
commitc31e4c6a970b844e500f3feb807e1801b2d55543 (patch)
tree8ccef31dd5f1dbe97ee42573bbfe54beae2e5f7e /src/modules/m_exemptchanops.cpp
parentStore a set of list mode pointers in Membership instead of characters. (diff)
Add a typedef for a mode rank.
Diffstat (limited to 'src/modules/m_exemptchanops.cpp')
-rw-r--r--src/modules/m_exemptchanops.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_exemptchanops.cpp b/src/modules/m_exemptchanops.cpp
index c384e723f..9c366f1f3 100644
--- a/src/modules/m_exemptchanops.cpp
+++ b/src/modules/m_exemptchanops.cpp
@@ -127,7 +127,7 @@ public:
ModResult OnCheckExemption(User* user, Channel* chan, const std::string& restriction) override
{
- unsigned int mypfx = chan->GetPrefixValue(user);
+ ModeHandler::Rank mypfx = chan->GetPrefixValue(user);
std::string minmode;
ListModeBase::ModeList* list = ec.GetList(chan);