summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index f3cf7b7b2..6a90b14ea 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -1627,7 +1627,8 @@ int auth_db_final(DBKey k,void *d,va_list ap) {
*/
int do_final_chrif(void)
{
- delete_session(char_fd);
+ if (char_fd > 0)
+ do_close(char_fd);
auth_db->destroy(auth_db, auth_db_final);
return 0;
}