summaryrefslogtreecommitdiff
path: root/src/map/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/chat.c')
-rw-r--r--src/map/chat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/chat.c b/src/map/chat.c
index a761d528a..d68864fe1 100644
--- a/src/map/chat.c
+++ b/src/map/chat.c
@@ -328,6 +328,7 @@ int chat_deletenpcchat(struct npc_data* nd)
clif_clearchat(cd, 0);
map_delblock(&cd->bl);
map_freeblock(&cd->bl);
+ map_deliddb(&cd->bl);
nd->chat_id = 0;
return 0;