diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:45:43 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:45:43 +0000 |
commit | 55bf54a30532cfeff5bb813617d013761212a64b (patch) | |
tree | 42c7d74a507e4ada55fb16c44805fec3a3ba7dfb /src/main.c | |
parent | 809ed7c2c04f2c004be3f8f7d29ff3b4f0e3e0f7 (diff) |
Various conversions to use new protocol.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1307 5417fbe8-f217-4b02-8779-1006273d7864
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 |