From c91462134c1665bae5349f1fb49d319097167b48 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 13 Mar 2021 18:27:08 -0300 Subject: Prevent @ipban from banning staff --- npc/commands/ipcheck.txt | 3 +++ 1 file changed, 3 insertions(+) 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 "), 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); -- cgit v1.2.3-60-g2f50