From c2e3552039cd5da5aea601d0f1d6ea2d911a9197 Mon Sep 17 00:00:00 2001 From: codemastr Date: Fri, 29 Jun 2001 14:03:16 +0000 Subject: [PATCH] Made unreal call all the mod_unload's when it shuts down --- Changes | 1 + src/ircd.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Changes b/Changes index 7aaa0838c..538793ccc 100644 --- a/Changes +++ b/Changes @@ -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 diff --git a/src/ircd.c b/src/ircd.c index a311ec149..b50e67c4a 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -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);