summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-21 09:43:55 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-21 09:43:55 -0300
commitcdefa3b249f838762bd9e3bf68951af792d2ee86 (patch)
tree0f9765b780bb3add16b7e53d2898f375571fbf4c /npc
parent135464cf2ef6613223f78fa403447f36869f8296 (diff)
downloadserverdata-cdefa3b249f838762bd9e3bf68951af792d2ee86.tar.gz
serverdata-cdefa3b249f838762bd9e3bf68951af792d2ee86.tar.bz2
serverdata-cdefa3b249f838762bd9e3bf68951af792d2ee86.tar.xz
serverdata-cdefa3b249f838762bd9e3bf68951af792d2ee86.zip
*nobody saw this bug*
Diffstat (limited to 'npc')
-rw-r--r--npc/guilds/management.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/guilds/management.txt b/npc/guilds/management.txt
index 1bb441ef6..c1fc02616 100644
--- a/npc/guilds/management.txt
+++ b/npc/guilds/management.txt
@@ -18,7 +18,7 @@ guilds,35,30,0 script Guild Management NPC_NO_SPRITE,{
mesc l("Your position on the guild: @@", getguildrole(.@gid, getcharid(3), true));
// I forgot a function to get player title and allow any guildmaster to change this
- if (strcharinfo(0) == getguildmaster(.@gid))
+ if (getguildrole(.@gid, getcharid(3)) == GPOS_GUILDMASTER)
{
next;
do