summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commands/cmd_modenotice.cpp6
1 files changed, 5 insertions, 1 deletions
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 = "<modes> <message>"; }
+ CommandModeNotice(Module* parent) : Command(parent,"MODENOTICE",2,2)
+ {
+ syntax = "<modes> <message>";
+ flags_needed = 'o';
+ }
CmdResult Handle(const std::vector<std::string>& parameters, User *src)
{