]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_map.c
If a privset is removed from ircd.conf, wipe its privs.
[irc/rqf/shadowircd.git] / modules / m_map.c
index d86fe67d43b9332bb3dda948eaf40f82ff610e7c..7c679fb30a3bbe50493abe5d66161b592eaa0b50 100644 (file)
@@ -28,7 +28,6 @@
 #include "numeric.h"
 #include "send.h"
 #include "s_conf.h"
-#include "sprintf_irc.h"
 #include "scache.h"
 
 #define USER_COL       50      /* display | Users: %d at col 50 */
@@ -92,12 +91,12 @@ dump_map(struct Client *client_p, struct Client *root_p, char *pbuf)
        rb_dlink_node *ptr;
        *pbuf = '\0';
 
-       strlcat(pbuf, root_p->name, BUFSIZE);
+       rb_strlcat(pbuf, root_p->name, BUFSIZE);
        if (has_id(root_p))
        {
-               strlcat(pbuf, "[", BUFSIZE);
-               strlcat(pbuf, root_p->id, BUFSIZE);
-               strlcat(pbuf, "]", BUFSIZE);
+               rb_strlcat(pbuf, "[", BUFSIZE);
+               rb_strlcat(pbuf, root_p->id, BUFSIZE);
+               rb_strlcat(pbuf, "]", BUFSIZE);
        }
        len = strlen(buf);
        buf[len] = ' ';