struct Channel *, struct membership *, int, const char **);
int add_id(struct Client *source_p, struct Channel *chptr,
struct Channel *, struct membership *, int, const char **);
int add_id(struct Client *source_p, struct Channel *chptr,
*/
int
add_id(struct Client *source_p, struct Channel *chptr, const char *banid,
*/
int
add_id(struct Client *source_p, struct Channel *chptr, const char *banid,
{
sendto_one(source_p, form_str(ERR_BANLISTFULL),
me.name, source_p->name, chptr->chname, realban);
return 0;
}
{
sendto_one(source_p, form_str(ERR_BANLISTFULL),
me.name, source_p->name, chptr->chname, realban);
return 0;
}
- ircsprintf(who, "%s!%s@%s", source_p->name, source_p->username, source_p->host);
+ rb_sprintf(who, "%s!%s@%s", source_p->name, source_p->username, source_p->host);
else
strlcpy(who, source_p->name, sizeof(who));
actualBan = allocate_ban(realban, who);
else
strlcpy(who, source_p->name, sizeof(who));
actualBan = allocate_ban(realban, who);
/* invalidate the can_send() cache */
if(mode_type == CHFL_BAN || mode_type == CHFL_QUIET || mode_type == CHFL_EXCEPTION)
/* invalidate the can_send() cache */
if(mode_type == CHFL_BAN || mode_type == CHFL_QUIET || mode_type == CHFL_EXCEPTION)
-del_id(struct Channel *chptr, const char *banid, dlink_list * list, long mode_type)
+del_id(struct Channel *chptr, const char *banid, rb_dlink_list * list, long mode_type)
- mask_pos += ircsprintf(mask_buf + mask_pos, "%s!%s@%s", nick, user, host) + 1;
+ mask_pos += rb_sprintf(mask_buf + mask_pos, "%s!%s@%s", nick, user, host) + 1;
- mlen = ircsprintf(modebuf, ":%s MODE %s ", fakesource_p->name, chptr->chname);
+ mlen = rb_sprintf(modebuf, ":%s MODE %s ", fakesource_p->name, chptr->chname);
source_p->name, source_p->username,
source_p->host, chptr->chname);
source_p->name, source_p->username,
source_p->host, chptr->chname);
send_cap_mode_changes(client_p, source_p, chptr, mode_changes, mode_count);
}
send_cap_mode_changes(client_p, source_p, chptr, mode_changes, mode_count);
}