From: danieldg Date: Thu, 11 Mar 2010 19:53:16 +0000 (+0000) Subject: Make MODENOTICE oper-only, noticed by jackmcbarn X-Git-Tag: v2.0.23~951 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=516da6a00f6c45171eec385bd8b1bd1f1f88cc32;p=user%2Fhenk%2Fcode%2Finspircd.git Make MODENOTICE oper-only, noticed by jackmcbarn git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12623 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/commands/cmd_modenotice.cpp b/src/commands/cmd_modenotice.cpp index 359474a35..d466ee2d1 100644 --- a/src/commands/cmd_modenotice.cpp +++ b/src/commands/cmd_modenotice.cpp @@ -16,7 +16,11 @@ class CommandModeNotice : public Command { public: - CommandModeNotice(Module* parent) : Command(parent,"MODENOTICE",2,2) { syntax = " "; } + CommandModeNotice(Module* parent) : Command(parent,"MODENOTICE",2,2) + { + syntax = " "; + flags_needed = 'o'; + } CmdResult Handle(const std::vector& parameters, User *src) {