diff options
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 2 |
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 |