summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
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();