From 75593a22c85de975b136fc261c477735d3bc407f Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 1 Jan 2012 18:00:20 +0000 Subject: 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 --- src/map/mail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/mail.c') 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; -- cgit v1.2.3-70-g09d2