aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_operprefix.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2017-10-18 03:40:31 +0100
committerGravatar Peter Powell2017-11-06 10:55:56 +0000
commit257bf752fc6b87fa35bfa8cf95fc37730c3d55c6 (patch)
tree1e12e5a40587abc20ce5cc718f189fd753f4a9a7 /src/modules/m_operprefix.cpp
parentFix an unhandled exception crash when rehashing modules. (diff)
Add support for setting the unset rank in ModeHandler.
Diffstat (limited to 'src/modules/m_operprefix.cpp')
-rw-r--r--src/modules/m_operprefix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_operprefix.cpp b/src/modules/m_operprefix.cpp
index 73155b394..8b68dbe60 100644
--- a/src/modules/m_operprefix.cpp
+++ b/src/modules/m_operprefix.cpp
@@ -33,7 +33,7 @@ class OperPrefixMode : public PrefixMode
: PrefixMode(Creator, "operprefix", 'y', OPERPREFIX_VALUE)
{
prefix = ServerInstance->Config->ConfValue("operprefix")->getString("prefix", "!", 1, 1)[0];
- levelrequired = INT_MAX;
+ ranktoset = ranktounset = UINT_MAX;
}
};