summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-30 21:07:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-30 21:07:46 +0300
commit4284e5bd3d3c3fd387b4e3a9b73220cafc0f2188 (patch)
tree48e1ab719e666847d84d328f570a868f6c00776b /src/map/init.c
parent33b41fe00a47510ed6b84e04fc9e9a222b053130 (diff)
downloadevol-hercules-4284e5bd3d3c3fd387b4e3a9b73220cafc0f2188.tar.gz
evol-hercules-4284e5bd3d3c3fd387b4e3a9b73220cafc0f2188.tar.bz2
evol-hercules-4284e5bd3d3c3fd387b4e3a9b73220cafc0f2188.tar.xz
evol-hercules-4284e5bd3d3c3fd387b4e3a9b73220cafc0f2188.zip
Remove checking for gm command in mail read packet.
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c
index 7eb1035..5327532 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -40,6 +40,7 @@
#include "map/clif.h"
#include "map/itemdb.h"
#include "map/lang.h"
+#include "map/mail.h"
#include "map/map.h"
#include "map/mob.h"
#include "map/npc.h"
@@ -149,6 +150,7 @@ HPExport void plugin_init (void)
addHookPre("itemdb->readdb_additional_fields", eitemdb_readdb_additional_fields);
addHookPre("unit->can_move", eunit_can_move);
addHookPre("unit->walktoxy", eunit_walktoxy);
+ addHookPre("mail->invalid_operation", email_invalid_operation);
addHookPost("clif->getareachar_unit", eclif_getareachar_unit_post);
addHookPost("clif->authok", eclif_authok_post);