summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-01 18:00:20 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-01 18:00:20 +0000
commit75593a22c85de975b136fc261c477735d3bc407f (patch)
treed7466081fb80a2e8a58c7950fbc31995a276d364 /src/map/pc.c
parent37343d0ae89a73c53b80ea670bc4d76249236aba (diff)
downloadhercules-75593a22c85de975b136fc261c477735d3bc407f.tar.gz
hercules-75593a22c85de975b136fc261c477735d3bc407f.tar.bz2
hercules-75593a22c85de975b136fc261c477735d3bc407f.tar.xz
hercules-75593a22c85de975b136fc261c477735d3bc407f.zip
Added new @/# command aliases pattern, all aliases can now be modified/added/removed in the front-end within atcommand_conf (no longer hardcoded). The aliases pattern was defined in this topic: tid:56343 atcommand_conf file rewrite/update belongs to Jguy and BrianL
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15343 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index eef9188a1..d16c25b69 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -871,7 +871,7 @@ bool pc_authok(struct map_session_data *sd, int login_id2, time_t expiration_tim
pc_setequipindex(sd);
status_change_init(&sd->bl);
- if ((battle_config.atc_gmonly == 0 || pc_isGM(sd)) && (pc_isGM(sd) >= get_atcommand_level(atcommand_hide)))
+ if ((battle_config.atc_gmonly == 0 || pc_isGM(sd)) && (pc_isGM(sd) >= get_atcommand_level("hide")))
sd->status.option &= (OPTION_MASK | OPTION_INVISIBLE);
else
sd->status.option &= OPTION_MASK;