summaryrefslogtreecommitdiff
path: root/npc/guilds/management.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/guilds/management.txt')
-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