summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 41d82234e..801d7fcc1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -200,6 +200,8 @@ void do_restart_services()
if (!quitmsg)
quitmsg = "Restarting";
ircdproto->SendSquit(Config.ServerName, quitmsg);
+ /* Process to send the last bits of information before disconnecting */
+ socketEngine.Process();
delete UplinkSock;
close_log();
/* First don't unload protocol module, then do so */