diff options
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c index 553b364f5..2b9e94b23 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -2998,6 +2998,13 @@ int map_sql_close(void) logmysql_handle = NULL; } + if(mail_server_enable) + { + ShowStatus("Close Mail DB Connection....\n"); + Sql_Free(mail_handle); + mail_handle = NULL; + } + return 0; } |