From 257bf752fc6b87fa35bfa8cf95fc37730c3d55c6 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 18 Oct 2017 03:40:31 +0100 Subject: Add support for setting the unset rank in ModeHandler. --- src/modules/m_delaymsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_delaymsg.cpp') 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 : ParamMode(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*) -- cgit v1.3.1-10-gc9f91