summaryrefslogtreecommitdiff
path: root/src/map/mail.c
diff options
context:
space:
mode:
authorStreusel <advance_me@hotmail.de>2013-04-23 00:26:00 -0700
committerStreusel <advance_me@hotmail.de>2013-04-23 00:26:00 -0700
commit8c3c4577bde31ccee677ea75649b89cfa5822240 (patch)
tree6f1c3cf85deea0932b974d5a8943184966bff46a /src/map/mail.c
parent3a6517e14649805db47b332934f4cad972d00e95 (diff)
parent038174e232c03519474f86e5738cecac34bbdee3 (diff)
downloadhercules-8c3c4577bde31ccee677ea75649b89cfa5822240.tar.gz
hercules-8c3c4577bde31ccee677ea75649b89cfa5822240.tar.bz2
hercules-8c3c4577bde31ccee677ea75649b89cfa5822240.tar.xz
hercules-8c3c4577bde31ccee677ea75649b89cfa5822240.zip
Merge branch 'master' of github.com:HerculesWS/Hercules
Diffstat (limited to 'src/map/mail.c')
-rw-r--r--src/map/mail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mail.c b/src/map/mail.c
index ffb3176c1..fa842b70f 100644
--- a/src/map/mail.c
+++ b/src/map/mail.c
@@ -175,7 +175,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_can_use_command(sd, "mail", COMMAND_ATCOMMAND) )
+ if( !map[sd->bl.m].flag.town && !pc_can_use_command(sd, "@mail") )
{
ShowWarning("clif->parse_Mail: char '%s' trying to do invalid mail operations.\n", sd->status.name);
return true;