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_shun.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_shun.cpp') diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp index 6fa116448..f26ea4d4a 100644 --- a/src/modules/m_shun.cpp +++ b/src/modules/m_shun.cpp @@ -64,7 +64,8 @@ class CommandShun : public Command public: CommandShun(Module* Creator) : Command(Creator, "SHUN", 1, 3) { - flags_needed = 'o'; this->syntax = " [ :]"; + flags_needed = 'o'; + syntax = { " [ :]" }; } CmdResult Handle(User* user, const Params& parameters) override -- cgit v1.3.1-10-gc9f91