summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-10-25 04:12:13 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-10-25 04:12:13 +0000
commit8330009373183b42eb1562a73b1526dc12c0c575 (patch)
treef759cb389b3cce68b87713c81a10cdb1927f290b /src
parent5ab705b6fe2f9b468d07d2e354d20bf182f5e771 (diff)
Actually use the I_OnRestart event
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2582 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index feea4c726..d2aa0442f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -184,6 +184,9 @@ void do_restart_services()
log_perror("Restart failed");
close_log();
}
+
+ FOREACH_MOD(I_OnRestart, OnRestart());
+
exit(1);
}