diff options
| author | 2020-04-14 16:41:31 +0100 | |
|---|---|---|
| committer | 2020-04-14 16:41:31 +0100 | |
| commit | b382496d5c07cb236f2b26d1ce360f75a3cad6cb (patch) | |
| tree | 94d9568c862e64c20bde370365f087259a87e804 /src/modules/m_remove.cpp | |
| parent | Switch the spanningtree module from reference<> to std::shared_ptr<>. (diff) | |
Alow modules to specify multiple syntax lines.
Diffstat (limited to 'src/modules/m_remove.cpp')
| -rw-r--r-- | src/modules/m_remove.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_remove.cpp b/src/modules/m_remove.cpp index bf83d31b0..22c2ca48e 100644 --- a/src/modules/m_remove.cpp +++ b/src/modules/m_remove.cpp @@ -172,7 +172,7 @@ class CommandRemove : public RemoveBase CommandRemove(Module* Creator, bool& snk, ChanModeReference& nkm) : RemoveBase(Creator, snk, nkm, "REMOVE") { - syntax = "<channel> <nick> [:<reason>]"; + syntax = { "<channel> <nick> [:<reason>]" }; translation = { TR_NICK, TR_TEXT, TR_TEXT }; } @@ -190,7 +190,7 @@ class CommandFpart : public RemoveBase CommandFpart(Module* Creator, bool& snk, ChanModeReference& nkm) : RemoveBase(Creator, snk, nkm, "FPART") { - syntax = "<channel> <nick> [:<reason>]"; + syntax = { "<channel> <nick> [:<reason>]" }; translation = { TR_TEXT, TR_NICK, TR_TEXT }; } |
