summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-27 14:31:26 -0300
committershennetsind <ind@henn.et>2013-09-27 14:32:05 -0300
commita4c5e17bba98d65bedf917c03bb60bf0550af688 (patch)
treeadd761fae1d3a240922ee6398305d35e4d1fce7d /src/map/npc.c
parentc08c02223390b162de6863a56ee7c823339654c4 (diff)
downloadhercules-a4c5e17bba98d65bedf917c03bb60bf0550af688.tar.gz
hercules-a4c5e17bba98d65bedf917c03bb60bf0550af688.tar.bz2
hercules-a4c5e17bba98d65bedf917c03bb60bf0550af688.tar.xz
hercules-a4c5e17bba98d65bedf917c03bb60bf0550af688.zip
HPM: Chat.c Completed
Moved missing vars and declarations of interest into the interface, removed duplicate mentions of chat within calls to shorten wherever it made sense to, and renamed some members to ease reading. Signed-off-by: shennetsind <ind@henn.et>
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