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/log.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/log.c')
-rw-r--r-- | src/log.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -245,7 +245,7 @@ void fatal(const char *fmt, ...) if (nofork) fprintf(stderr, "%s FATAL: %s\n", buf, buf2); if (servsock >= 0) - anope_SendGlobops(NULL, "FATAL ERROR! %s", buf2); + ircdproto->SendGlobops(NULL, "FATAL ERROR! %s", buf2); /* one of the many places this needs to be called from */ ModuleRunTimeDirCleanUp(); @@ -283,7 +283,7 @@ void fatal_perror(const char *fmt, ...) fprintf(stderr, "%s FATAL: %s: %s\n", buf, buf2, strerror(errno_save)); if (servsock >= 0) - anope_SendGlobops(NULL, "FATAL ERROR! %s: %s", buf2, + ircdproto->SendGlobops(NULL, "FATAL ERROR! %s: %s", buf2, strerror(errno_save)); /* one of the many places this needs to be called from */ @@ -326,7 +326,7 @@ void fatal_sockerror(const char *fmt, ...) fprintf(stderr, "%s FATAL: %s: %s\n", buf, buf2, ano_sockstrerror(errno_save)); if (servsock >= 0) - anope_SendGlobops(NULL, "FATAL ERROR! %s: %s", buf2, + ircdproto->SendGlobops(NULL, "FATAL ERROR! %s: %s", buf2, strerror(errno_save)); /* one of the many places this needs to be called from */ |