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_tline.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_tline.cpp') diff --git a/src/modules/m_tline.cpp b/src/modules/m_tline.cpp index d908807b1..b7df67c60 100644 --- a/src/modules/m_tline.cpp +++ b/src/modules/m_tline.cpp @@ -32,7 +32,8 @@ class CommandTline : public Command public: CommandTline(Module* Creator) : Command(Creator,"TLINE", 1) { - flags_needed = 'o'; this->syntax = ""; + flags_needed = 'o'; + syntax = { "" }; } CmdResult Handle(User* user, const Params& parameters) override -- cgit v1.3.1-10-gc9f91