summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
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 eff80efce..21e4221da 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1773,7 +1773,7 @@ int npc_unload(struct npc_data* nd, bool single) {
strdb_remove(npc->name_db, nd->exname);
if (nd->chat_id) // remove npc chatroom object and kick users
- chat->deletenpcchat(nd);
+ chat->delete_npc_chat(nd);
#ifdef PCRE_SUPPORT
npc_chat->finalize(nd); // deallocate npc PCRE data structures