]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_restart.c
m_kline.c warning fixed, but read my comment
[irc/rqf/shadowircd.git] / modules / m_restart.c
index 2f804e26be246ec7d835c6a4090632f156cddb98..9dfae7709158dab8c45dd24968899a9ebdaf0467 100644 (file)
@@ -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;