summaryrefslogtreecommitdiff
path: root/npc/events/nguild/nguild_managers.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/events/nguild/nguild_managers.txt')
-rw-r--r--npc/events/nguild/nguild_managers.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/events/nguild/nguild_managers.txt b/npc/events/nguild/nguild_managers.txt
index 21b1e4b86..6ff1e7e2a 100644
--- a/npc/events/nguild/nguild_managers.txt
+++ b/npc/events/nguild/nguild_managers.txt
@@ -52,7 +52,7 @@ function script F_GldManager {
mes "Where are the guardians? Destroy these intruders!";
return;
}
- if (strcharinfo(0) != getguildmaster(@GID)){
+ if (strcharinfo(PC_NAME) != getguildmaster(@GID)){
mes "You're not ^5533FF" + getguildmaster(@GID) + "^000000! I am here to follow ^5533FF" + getguildmaster(@GID) + "^000000's command only";
return 0;
}