aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_delaymsg.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_delaymsg.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_delaymsg.cpp')
-rw-r--r--src/modules/m_delaymsg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_delaymsg.cpp b/src/modules/m_delaymsg.cpp
index 1ad41cc57..3471c7fd2 100644
--- a/src/modules/m_delaymsg.cpp
+++ b/src/modules/m_delaymsg.cpp
@@ -27,7 +27,7 @@ class DelayMsgMode : public ParamMode<DelayMsgMode, LocalIntExt>
: ParamMode<DelayMsgMode, LocalIntExt>(Parent, "delaymsg", 'd')
, jointime("delaymsg", ExtensionItem::EXT_MEMBERSHIP, Parent)
{
- levelrequired = OP_VALUE;
+ ranktoset = ranktounset = OP_VALUE;
}
bool ResolveModeConflict(std::string &their_param, const std::string &our_param, Channel*)