summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-10-24 05:50:20 -0200
committershennetsind <ind@henn.et>2013-10-24 05:50:20 -0200
commit8b07c677e351056b0d23fbc3726f80829ae4d253 (patch)
tree7020d88a5e56975c1a40e078246fbdd20408f548 /src/map/map.c
parent45d8123e73ea9b213ad57c32524286fe44a08721 (diff)
downloadhercules-8b07c677e351056b0d23fbc3726f80829ae4d253.tar.gz
hercules-8b07c677e351056b0d23fbc3726f80829ae4d253.tar.bz2
hercules-8b07c677e351056b0d23fbc3726f80829ae4d253.tar.xz
hercules-8b07c677e351056b0d23fbc3726f80829ae4d253.zip
Fixed Bug #7759
Modified how @commands from HPM plugins are handled so that they are persistent to @reloadatcommand (also prepares for the future load/unload during runtime feature) http://hercules.ws/board/tracker/issue-7759-reloadatcommand/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 91871e58f..749b9de81 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -5087,6 +5087,8 @@ void do_final(void)
map->list_final();
vending->final();
+ HPM_map_do_final();
+
map->map_db->destroy(map->map_db, map->db_final);
mapindex_final();