]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/core/m_kill.c
Restore and update send_oper_motd().
[irc/rqf/shadowircd.git] / modules / core / m_kill.c
index 616095bd6d7f95ed67ac88acd80f57a113bf8d68..525f37c9663b00df56bc33b22eaa28e8df27635f 100644 (file)
@@ -150,7 +150,7 @@ mo_kill(struct Client *client_p, struct Client *source_p, int parc, const char *
                target_p->flags |= FLAGS_KILLED;
        }
 
                target_p->flags |= FLAGS_KILLED;
        }
 
-       ircsprintf(buf, "Killed (%s (%s))", source_p->name, reason);
+       rb_sprintf(buf, "Killed (%s (%s))", source_p->name, reason);
 
        exit_client(client_p, target_p, source_p, buf);
 
 
        exit_client(client_p, target_p, source_p, buf);
 
@@ -272,7 +272,7 @@ ms_kill(struct Client *client_p, struct Client *source_p, int parc, const char *
        /* FLAGS_KILLED prevents a quit being sent out */
        target_p->flags |= FLAGS_KILLED;
 
        /* FLAGS_KILLED prevents a quit being sent out */
        target_p->flags |= FLAGS_KILLED;
 
-       ircsprintf(buf, "Killed (%s %s)", source_p->name, reason);
+       rb_sprintf(buf, "Killed (%s %s)", source_p->name, reason);
 
        exit_client(client_p, target_p, source_p, buf);
 
 
        exit_client(client_p, target_p, source_p, buf);
 
@@ -288,11 +288,11 @@ relay_kill(struct Client *one, struct Client *source_p,
        char buffer[BUFSIZE];
 
        if(MyClient(source_p))
        char buffer[BUFSIZE];
 
        if(MyClient(source_p))
-               ircsnprintf(buffer, sizeof(buffer),
+               rb_snprintf(buffer, sizeof(buffer),
                            "%s!%s!%s!%s (%s)",
                            me.name, source_p->host, source_p->username, source_p->name, reason);
        else
                            "%s!%s!%s!%s (%s)",
                            me.name, source_p->host, source_p->username, source_p->name, reason);
        else
-               ircsnprintf(buffer, sizeof(buffer), "%s %s", inpath, reason);
+               rb_snprintf(buffer, sizeof(buffer), "%s %s", inpath, reason);
 
        RB_DLINK_FOREACH(ptr, serv_list.head)
        {
 
        RB_DLINK_FOREACH(ptr, serv_list.head)
        {