diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 21:22:12 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 21:22:12 +0000 |
commit | 0f8f66328d766b0a728d27105a1c1d6feefc4670 (patch) | |
tree | 0a899ecdf77d5138a33ef22d146c851721d40a2a /src/main.c | |
parent | 1f579c0fe2f139fccf5fdfb971080ba99cfdcdab (diff) |
Replaced anope_SendSquit() with direct call to SendSquit() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1349 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 9e16b6e53..5602e1d00 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_SendSquit(ServerName, quitmsg); + ircdproto->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_SendSquit(ServerName, quitmsg); + ircdproto->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_SendSquit(ServerName, quitmsg); + ircdproto->SendSquit(ServerName, quitmsg); disconn(servsock); close_log(); #ifdef _WIN32 |