summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-01-29 11:56:02 +0100
committerHaru <haru@dotalux.com>2016-01-29 11:56:02 +0100
commitd1d301737fbdc822665f60a6acbd2e205d15030f (patch)
tree6760de499701dcb440f3d110fcda30a984b54287 /src/map/npc.c
parent11a952e03a01ba9e7c9b9d3cd588cddef52082f8 (diff)
parent3b3b21a1b939097b9f96185893a8edf4214bd572 (diff)
downloadhercules-d1d301737fbdc822665f60a6acbd2e205d15030f.tar.gz
hercules-d1d301737fbdc822665f60a6acbd2e205d15030f.tar.bz2
hercules-d1d301737fbdc822665f60a6acbd2e205d15030f.tar.xz
hercules-d1d301737fbdc822665f60a6acbd2e205d15030f.zip
Merge pull request #1108 from 4144/pcreconfigure
Enable pcre by default in configure and show error if pcre missing.
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index acecff6d0..ae3cf56d0 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2276,9 +2276,7 @@ int npc_unload(struct npc_data* nd, bool single)
if (nd->chat_id) // remove npc chatroom object and kick users
chat->delete_npc_chat(nd);
-#ifdef PCRE_SUPPORT
npc_chat->finalize(nd); // deallocate npc PCRE data structures
-#endif
if (single && nd->path != NULL) {
npc->releasepathreference(nd->path);