* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
- * $Id: m_map.c 3368 2007-04-03 10:11:06Z nenolod $
*/
#include "stdinc.h"
#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 */
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[])
/*
** mo_map
-** parv[0] = sender prefix
*/
static int
mo_map(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
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] = ' ';