summaryrefslogtreecommitdiff
path: root/src/emap/mail.c
diff options
context:
space:
mode:
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();