From 516da6a00f6c45171eec385bd8b1bd1f1f88cc32 Mon Sep 17 00:00:00 2001 From: danieldg Date: Thu, 11 Mar 2010 19:53:16 +0000 Subject: Make MODENOTICE oper-only, noticed by jackmcbarn git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12623 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_modenotice.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/commands/cmd_modenotice.cpp') 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) { -- cgit v1.2.3