1
0
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:
codemastr
2001-06-29 14:03:16 +00:00
parent f2bd92c9ad
commit c2e3552039
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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
+1
View File
@@ -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);