summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/log.c b/src/log.c
index 1f1b7c992..52dda1baf 100644
--- a/src/log.c
+++ b/src/log.c
@@ -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 */