mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-06 21:03:12 +02:00
Made unreal call all the mod_unload's when it shuts down
This commit is contained in:
@@ -624,3 +624,4 @@ seen. gmtime warning still there
|
||||
- Changed ALL MODULES to version 2
|
||||
- Commited the +k fix to +L
|
||||
- Made version.c depend on ../Changes
|
||||
- Made the ircd call mod_unload when it shuts down
|
||||
|
||||
@@ -204,6 +204,7 @@ VOIDSIG s_die()
|
||||
#ifdef USE_SYSLOG
|
||||
(void)syslog(LOG_CRIT, "Server Killed By SIGTERM");
|
||||
#endif
|
||||
unload_all_modules();
|
||||
flush_connections(&me);
|
||||
#ifndef _WIN32
|
||||
exit(-1);
|
||||
|
||||
Reference in New Issue
Block a user