From b382496d5c07cb236f2b26d1ce360f75a3cad6cb Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 14 Apr 2020 16:41:31 +0100 Subject: Alow modules to specify multiple syntax lines. --- src/modules/m_remove.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_remove.cpp') 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 = " [:]"; + syntax = { " [:]" }; 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 = " [:]"; + syntax = { " [:]" }; translation = { TR_TEXT, TR_NICK, TR_TEXT }; } -- cgit v1.3.1-10-gc9f91