summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/politics.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt
index 83b9e01b5..a7524fa6f 100644
--- a/npc/functions/politics.txt
+++ b/npc/functions/politics.txt
@@ -461,6 +461,10 @@ function script POL_Manage {
mesc l("The player is offline or does not exist.");
break;
}
+ if (.@id == getcharid(3)) {
+ mesc l("You cannot exile yourself!");
+ break;
+ }
.@town=POL_LocToTP(getarg(0));
.@you=getcharid(3);
attachrid(.@id);