From 9433e34b2133d8f1e77fea15447ba4d0259a5fb0 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 12 Jun 2019 21:46:07 +0100 Subject: Show the mode syntax in ERR_INVALIDMODEPARAM. --- src/modules/m_delaymsg.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules/m_delaymsg.cpp') diff --git a/src/modules/m_delaymsg.cpp b/src/modules/m_delaymsg.cpp index 6acaa9a2f..04d4119c7 100644 --- a/src/modules/m_delaymsg.cpp +++ b/src/modules/m_delaymsg.cpp @@ -29,6 +29,7 @@ class DelayMsgMode : public ParamMode , jointime("delaymsg", ExtensionItem::EXT_MEMBERSHIP, Parent) { ranktoset = ranktounset = OP_VALUE; + syntax = ""; } bool ResolveModeConflict(std::string& their_param, const std::string& our_param, Channel*) CXX11_OVERRIDE -- cgit v1.3.1-10-gc9f91