summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorSusu <bruant.bastien@gmail.com>2013-07-29 15:09:42 +0200
committerSusu <bruant.bastien@gmail.com>2013-07-29 15:09:42 +0200
commit9ac2cf7bc508248450ddd9f3eaca32cb6fe715a4 (patch)
treeaa2ba2e5eec4e8fae70c11c71545b7123504c395 /src/map/npc.c
parent4f441379e35619da60ddd94d44d3a5b5bb8a49b4 (diff)
downloadhercules-9ac2cf7bc508248450ddd9f3eaca32cb6fe715a4.tar.gz
hercules-9ac2cf7bc508248450ddd9f3eaca32cb6fe715a4.tar.bz2
hercules-9ac2cf7bc508248450ddd9f3eaca32cb6fe715a4.tar.xz
hercules-9ac2cf7bc508248450ddd9f3eaca32cb6fe715a4.zip
Added chat interface
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 911fbe1d4..6bb058229 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1817,7 +1817,7 @@ int npc_unload(struct npc_data* nd, bool single) {
strdb_remove(npcname_db, nd->exname);
if (nd->chat_id) // remove npc chatroom object and kick users
- chat_deletenpcchat(nd);
+ chat->deletenpcchat(nd);
#ifdef PCRE_SUPPORT
npc_chat_finalize(nd); // deallocate npc PCRE data structures