diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 21:02:37 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 21:02:37 +0000 |
commit | 6c305a3d6731191899f4331be56a071dab66d194 (patch) | |
tree | 59a7bf69f0a2b035bc84580552e0745977307a82 /src/main.c | |
parent | f3f1b97a1ab782a3419fe20ae06d3e3535a4ddae (diff) |
Replaced anope_SendGlobops() with direct call to SendGlobops() in IRCDProto class.
Added SendGlobopsInternal() function to IRCDProto class, now SendGlobops() is a stub to handle varargs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1347 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 45b5be1d9..9e16b6e53 100644 --- a/src/main.c +++ b/src/main.c @@ -385,7 +385,7 @@ void sighandler(int signum) inbuf[447] = '>'; inbuf[448] = 0; } - anope_SendGlobops(NULL, "PANIC! buffer = %s\r\n", inbuf); + ircdproto->SendGlobops(NULL, "PANIC! buffer = %s\r\n", inbuf); modules_unload_all(false, true); } else if (waiting < 0) { /* This is static on the off-chance we run low on stack */ @@ -461,7 +461,7 @@ void sighandler(int signum) default: snprintf(buf, sizeof(buf), "waiting=%d", waiting); } - anope_SendGlobops(NULL, "PANIC! %s (%s)", buf, strsignal(signum)); + ircdproto->SendGlobops(NULL, "PANIC! %s (%s)", buf, strsignal(signum)); alog("PANIC! %s (%s)", buf, strsignal(signum)); modules_unload_all(false, true); } @@ -585,7 +585,7 @@ int main(int ac, char **av, char **envp) if (!readonly && (save_data || t - last_update >= UpdateTimeout)) { if (delayed_quit) - anope_SendGlobops(NULL, + ircdproto->SendGlobops(NULL, "Updating databases on shutdown, please wait."); save_databases(); |