X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/28d337da4d888649cad859d5f8bb0e31c4514092..b2c208be091670e3c5259eba77187bae6ac6eece:/modules/m_map.c diff --git a/modules/m_map.c b/modules/m_map.c index d86fe67d..c2ab6be4 100644 --- a/modules/m_map.c +++ b/modules/m_map.c @@ -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 */ @@ -49,7 +48,6 @@ static void dump_map(struct Client *client_p, struct Client *root, char *pbuf); static char buf[BUFSIZE]; /* m_map -** parv[0] = sender prefix */ static int m_map(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]) @@ -68,7 +66,6 @@ m_map(struct Client *client_p, struct Client *source_p, int parc, const char *pa /* ** mo_map -** parv[0] = sender prefix */ static int mo_map(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]) @@ -92,12 +89,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] = ' ';