X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/a5497589929c9482cf26b39ceab0b1a45e8462a3..b869e117f01851f05ff6d02b65b2719e829057a7:/src/restart.c diff --git a/src/restart.c b/src/restart.c index ead8b42..a44cf08 100644 --- a/src/restart.c +++ b/src/restart.c @@ -28,7 +28,7 @@ #include "restart.h" #include "ircd.h" #include "send.h" -#include "s_log.h" +#include "logger.h" #include "s_conf.h" #include "client.h" #include "ircd_signal.h" @@ -36,8 +36,6 @@ /* external var */ extern char **myargv; -extern int maxconnections; /* XXX */ - void restart(const char *mesg) { @@ -47,9 +45,6 @@ restart(const char *mesg) abort(); was_here = YES; -#if 0 - ilog(L_MAIN, "Restarting Server because: %s, memory data limit: %ld", mesg, get_maxrss()); -#endif ilog(L_MAIN, "Restarting Server because: %s", mesg); server_reboot();