diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-01 18:00:20 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-01 18:00:20 +0000 |
commit | 75593a22c85de975b136fc261c477735d3bc407f (patch) | |
tree | d7466081fb80a2e8a58c7950fbc31995a276d364 /src/map/mail.c | |
parent | 37343d0ae89a73c53b80ea670bc4d76249236aba (diff) | |
download | hercules-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/mail.c')
-rw-r--r-- | src/map/mail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mail.c b/src/map/mail.c index dfa7889e0..f8adb5f0e 100644 --- a/src/map/mail.c +++ b/src/map/mail.c @@ -195,7 +195,7 @@ void mail_deliveryfail(struct map_session_data *sd, struct mail_message *msg) // This function only check if the mail operations are valid bool mail_invalid_operation(struct map_session_data *sd) { - if( !map[sd->bl.m].flag.town && pc_isGM(sd) < get_atcommand_level(atcommand_mail) ) + if( !map[sd->bl.m].flag.town && pc_isGM(sd) < get_atcommand_level("mail") ) { ShowWarning("clif_parse_Mail: char '%s' trying to do invalid mail operations.\n", sd->status.name); return true; |