X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/13640b08e439b1151aa43ed1af042e64c4e5f83e..0a93f25c7ad6428422ed0239dffb5bc57cf5d792:/src/restart.c?ds=inline diff --git a/src/restart.c b/src/restart.c index 9ba5548..ada978c 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,7 +45,10 @@ 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(); }