diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-10-25 04:12:13 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-10-25 04:12:13 +0000 |
| commit | 8330009373183b42eb1562a73b1526dc12c0c575 (patch) | |
| tree | f759cb389b3cce68b87713c81a10cdb1927f290b /src | |
| parent | 5ab705b6fe2f9b468d07d2e354d20bf182f5e771 (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.c | 3 |
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); } |
