summaryrefslogtreecommitdiff
path: root/src/emap/mail.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-02 19:06:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-02 19:06:39 +0300
commit1fc6228436311da0d70f14176fe47f3e37f6faa6 (patch)
tree9434c90ab44ac55200daa199f524fa11f3168678 /src/emap/mail.c
parent00d1b8bf9fc3648730904b6f86696417f4445037 (diff)
downloadevol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.gz
evol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.bz2
evol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.xz
evol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.zip
Update function hook prototypes for support new hercules.
Diffstat (limited to 'src/emap/mail.c')
-rw-r--r--src/emap/mail.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emap/mail.c b/src/emap/mail.c
index 4f293d1..5d9e37c 100644
--- a/src/emap/mail.c
+++ b/src/emap/mail.c
@@ -21,8 +21,9 @@
#include "plugins/HPMHooking.h"
-bool email_invalid_operation(struct map_session_data *sd)
+bool email_invalid_operation_pre(struct map_session_data **sdPtr)
{
+ struct map_session_data *sd = *sdPtr;
if (!sd)
{
hookStop();