aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_clearchan.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-04-14 16:41:31 +0100
committerGravatar Sadie Powell2020-04-14 16:41:31 +0100
commitb382496d5c07cb236f2b26d1ce360f75a3cad6cb (patch)
tree94d9568c862e64c20bde370365f087259a87e804 /src/modules/m_clearchan.cpp
parentSwitch the spanningtree module from reference<> to std::shared_ptr<>. (diff)
Alow modules to specify multiple syntax lines.
Diffstat (limited to 'src/modules/m_clearchan.cpp')
-rw-r--r--src/modules/m_clearchan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_clearchan.cpp b/src/modules/m_clearchan.cpp
index 15515704f..c40b5116d 100644
--- a/src/modules/m_clearchan.cpp
+++ b/src/modules/m_clearchan.cpp
@@ -30,7 +30,7 @@ class CommandClearChan : public Command
CommandClearChan(Module* Creator)
: Command(Creator, "CLEARCHAN", 1, 3)
{
- syntax = "<channel> [KILL|KICK|G|Z] [:<reason>]";
+ syntax = { "<channel> [KILL|KICK|G|Z] [:<reason>]" };
flags_needed = 'o';
// Stop the linking mod from forwarding ENCAP'd CLEARCHAN commands, see below why