summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/commands/ipcheck.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/commands/ipcheck.txt b/npc/commands/ipcheck.txt
index 2568644c4..0a2a24657 100644
--- a/npc/commands/ipcheck.txt
+++ b/npc/commands/ipcheck.txt
@@ -23,6 +23,9 @@ OnBan:
if (.@atcmd_numparameters == 0) {
dispbottom col(l("Syntax: #commandname <reason>"), 1);
}
+ // Do not allow banning staff
+ if (is_staff())
+ end;
.@target$=strcharinfo(0);
.@reason$ = implode(.@atcmd_parameters$, " ");
dispbottom col(l("You were permanently banned by the GM Team."), 1);