diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
commit | f9b628b0d37844e66a8d2acae797a81444df78ba (patch) | |
tree | 64be8440b22051b5c2433969395747ca1221db34 /src/main.c | |
parent | d64b3aa890976ef888c11e1c24da5b692f1d67d3 (diff) |
Remove legacy global function.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1208 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index 3981a7a55..25bc5c090 100644 --- a/src/main.c +++ b/src/main.c @@ -385,7 +385,7 @@ void sighandler(int signum) inbuf[447] = '>'; inbuf[448] = 0; } - wallops(NULL, "PANIC! buffer = %s\r\n", inbuf); + anope_cmd_global(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); } - wallops(NULL, "PANIC! %s (%s)", buf, strsignal(signum)); + anope_cmd_global(NULL, "PANIC! %s (%s)", buf, strsignal(signum)); alog("PANIC! %s (%s)", buf, strsignal(signum)); modules_unload_all(false, true); } |