36 |
|
#include "fdlist.h" |
37 |
|
#include "hash.h" |
38 |
|
#include "irc_string.h" |
39 |
– |
#include "sprintf_irc.h" |
39 |
|
#include "ircd.h" |
40 |
|
#include "ircd_defs.h" |
41 |
|
#include "s_bsd.h" |
544 |
|
|
545 |
|
if (cap->cap & (cap_can_send|default_server_capabs)) |
546 |
|
{ |
547 |
< |
tl = ircsprintf(t, "%s ", cap->name); |
547 |
> |
tl = sprintf(t, "%s ", cap->name); |
548 |
|
t += tl; |
549 |
|
} |
550 |
|
} |
633 |
|
char *t = msgbuf; |
634 |
|
dlink_node *ptr; |
635 |
|
|
636 |
< |
t += ircsprintf(msgbuf, "TS "); |
636 |
> |
t += sprintf(msgbuf, "TS "); |
637 |
|
|
638 |
|
DLINK_FOREACH(ptr, cap_list.head) |
639 |
|
{ |
640 |
|
const struct Capability *cap = ptr->data; |
641 |
|
|
642 |
|
if (IsCapable(target_p, cap->cap)) |
643 |
< |
t += ircsprintf(t, "%s ", cap->name); |
643 |
> |
t += sprintf(t, "%s ", cap->name); |
644 |
|
} |
645 |
|
|
646 |
|
*(t - 1) = '\0'; |