From c1edf8265ffd59a5f02dfa93d17ef48593d18a87 Mon Sep 17 00:00:00 2001 From: codemastr Date: Thu, 2 Aug 2001 20:11:58 +0000 Subject: [PATCH] Fixed a win32 bug where /restart didn't remove the tray icon --- Changes | 1 + src/ircd.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Changes b/Changes index 9a9f6e80c..54d888941 100644 --- a/Changes +++ b/Changes @@ -767,3 +767,4 @@ seen. gmtime warning still there - Made even more config errors recoverable - Added more network files - Fixed some typos in s_conf.c +- Fixed a win32 bug where /restart didn't remove the tray icon, reported by PHANTOm and Gilou diff --git a/src/ircd.c b/src/ircd.c index 37d3b308f..9f977f875 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -380,6 +380,7 @@ void server_reboot(mesg) (void)execv(MYNAME, myargv); #else close_connections(); + CleanUp(); (void)execv(myargv[0], myargv); #endif #ifdef USE_SYSLOG