diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c index 30cff5670..30ab9c88c 100644 --- a/src/main.c +++ b/src/main.c @@ -234,7 +234,7 @@ static void services_restart(void) send_event(EVENT_RESTART, 1, EVENT_START); if (!quitmsg) quitmsg = "Restarting"; - anope_cmd_squit(ServerName, quitmsg); + anope_SendSquit(ServerName, quitmsg); disconn(servsock); close_log(); /* First don't unload protocol module, then do so */ @@ -283,7 +283,7 @@ static void services_shutdown(void) quitmsg = "Terminating, reason unknown"; alog("%s", quitmsg); if (started) { - anope_cmd_squit(ServerName, quitmsg); + anope_SendSquit(ServerName, quitmsg); Anope_Free(uplink); Anope_Free(mod_current_buffer); if (ircd->chanmodes) { @@ -647,7 +647,7 @@ int main(int ac, char **av, char **envp) alog("Restarting"); if (!quitmsg) quitmsg = "Restarting"; - anope_cmd_squit(ServerName, quitmsg); + anope_SendSquit(ServerName, quitmsg); disconn(servsock); close_log(); #ifdef _WIN32 |