X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/08d11e34cc17e3045231729d87025a0cfa598f54..6faf3f4d40993bf22b734579569c16b0617cba04:/modules/m_restart.c diff --git a/modules/m_restart.c b/modules/m_restart.c index 2f804e2..e175e9d 100644 --- a/modules/m_restart.c +++ b/modules/m_restart.c @@ -27,14 +27,13 @@ #include "stdinc.h" #include "client.h" #include "common.h" -#include "irc_string.h" -#include "sprintf_irc.h" +#include "match.h" #include "ircd.h" #include "numeric.h" #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 +93,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;