summaryrefslogtreecommitdiff
path: root/src/map/guild.c
diff options
context:
space:
mode:
authorultramage <umage@netvor.sk>2016-01-14 18:13:23 +0100
committerultramage <umage@netvor.sk>2016-01-14 18:13:23 +0100
commit89bc83eb10741057574c9843350711d52b31685a (patch)
treefe18f0f209052179941672785ae0ce76d1be0b78 /src/map/guild.c
parent9e48e2aebd5777179bd2fc2f45a58f8ad17b1373 (diff)
downloadhercules-89bc83eb10741057574c9843350711d52b31685a.tar.gz
hercules-89bc83eb10741057574c9843350711d52b31685a.tar.bz2
hercules-89bc83eb10741057574c9843350711d52b31685a.tar.xz
hercules-89bc83eb10741057574c9843350711d52b31685a.zip
Adjusted names in enum guild_permission to still make sense when additional custom permissions are added.
Diffstat (limited to 'src/map/guild.c')
-rw-r--r--src/map/guild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/guild.c b/src/map/guild.c
index cba05638f..f4f0c0528 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -1117,7 +1117,7 @@ int guild_change_position(int guild_id,int idx,int mode,int exp_mode,const char
nullpo_ret(name);
exp_mode = cap_value(exp_mode, 0, battle_config.guild_exp_limit);
- p.mode=mode&GPERM_BOTH; // Invite and Expel
+ p.mode=mode&GPERM_MASK;
p.exp_mode=exp_mode;
safestrncpy(p.name,name,NAME_LENGTH);
return intif->guild_position(guild_id,idx,&p);