summaryrefslogtreecommitdiff
path: root/src/commands/cmd_admin.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-01-21 14:04:45 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-01-21 14:04:45 +0100
commited57ffc4febceeb30da35a37ac0b0c386234dd3b (patch)
treedaf9c2ba7843db60065a755b3025b90b0f278611 /src/commands/cmd_admin.cpp
parente1d0503a760bc6f43804e2212d997d6bee22cfa2 (diff)
Increase the penalty for a few core commands
Diffstat (limited to 'src/commands/cmd_admin.cpp')
-rw-r--r--src/commands/cmd_admin.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/commands/cmd_admin.cpp b/src/commands/cmd_admin.cpp
index 3a3eed346..0d6c235f0 100644
--- a/src/commands/cmd_admin.cpp
+++ b/src/commands/cmd_admin.cpp
@@ -30,7 +30,12 @@ class CommandAdmin : public Command
public:
/** Constructor for admin.
*/
- CommandAdmin(Module* parent) : Command(parent,"ADMIN",0,0) { syntax = "[<servername>]"; }
+ CommandAdmin(Module* parent) : Command(parent,"ADMIN",0,0)
+ {
+ Penalty = 2;
+ syntax = "[<servername>]";
+ }
+
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command