]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_restart.c
Much clear maxconnections stuff - ported from ratbox3.
[irc/rqf/shadowircd.git] / modules / m_restart.c
index 2f804e26be246ec7d835c6a4090632f156cddb98..365eb343ec7d675c8e9aae8098b06d24a5fd5da4 100644 (file)
@@ -34,7 +34,7 @@
 #include "s_conf.h"
 #include "s_newconf.h"
 #include "restart.h"
-#include "s_log.h"
+#include "logger.h"
 #include "send.h"
 #include "msg.h"
 #include "parse.h"
@@ -94,7 +94,7 @@ mo_restart(struct Client *client_p, struct Client *source_p, int parc, const cha
                           me.name, get_client_name(source_p, HIDE_IP));
        }
 
-       ircsprintf(buf, "Server RESTART by %s", get_client_name(source_p, HIDE_IP));
+       rb_sprintf(buf, "Server RESTART by %s", get_client_name(source_p, HIDE_IP));
        restart(buf);
 
        return 0;