]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/core/m_mode.c
strlcpy -> rb_strlcpy
[irc/rqf/shadowircd.git] / modules / core / m_mode.c
index 17f9deb139d21466b866f5a11f0061d597fbf25f..72f547a96ee2e5bc4badd525b7d9fdd5d949d483 100644 (file)
@@ -25,8 +25,6 @@
  */
 
 #include "stdinc.h"
-#include "tools.h"
-#include "balloc.h"
 #include "channel.h"
 #include "client.h"
 #include "hash.h"
@@ -36,7 +34,7 @@
 #include "s_user.h"
 #include "s_conf.h"
 #include "s_serv.h"
-#include "s_log.h"
+#include "logger.h"
 #include "send.h"
 #include "msg.h"
 #include "parse.h"
@@ -280,7 +278,7 @@ ms_bmask(struct Client *client_p, struct Client *source_p, int parc, const char
                fakesource_p = &me;
        else
                fakesource_p = source_p;
-       mlen = ircsprintf(modebuf, ":%s MODE %s +", fakesource_p->name, chptr->chname);
+       mlen = rb_sprintf(modebuf, ":%s MODE %s +", fakesource_p->name, chptr->chname);
        mbuf = modebuf + mlen;
        pbuf = parabuf;
 
@@ -328,7 +326,7 @@ ms_bmask(struct Client *client_p, struct Client *source_p, int parc, const char
                        }
 
                        *mbuf++ = parv[3][0];
-                       arglen = ircsprintf(pbuf, "%s ", s);
+                       arglen = rb_sprintf(pbuf, "%s ", s);
                        pbuf += arglen;
                        plen += arglen;
                        modecount++;