From 9ac2cf7bc508248450ddd9f3eaca32cb6fe715a4 Mon Sep 17 00:00:00 2001 From: Susu Date: Mon, 29 Jul 2013 15:09:42 +0200 Subject: Added chat interface --- src/map/npc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/npc.c') 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 -- cgit v1.2.3-60-g2f50