160 |
|
int tlen; /* length of text to append */ |
161 |
|
char *t, *start; /* temp char pointer */ |
162 |
|
|
163 |
< |
start = t = buf + snprintf(buf, sizeof(buf), ":%s SJOIN %lu %s %s %s:", |
164 |
< |
me.id, (unsigned long)chptr->creationtime, |
163 |
> |
start = t = buf + snprintf(buf, sizeof(buf), ":%s SJOIN %ju %s %s %s:", |
164 |
> |
me.id, chptr->creationtime, |
165 |
|
chptr->name, modebuf, parabuf); |
166 |
|
|
167 |
|
DLINK_FOREACH(node, chptr->members.head) |
227 |
|
if (!list->length) |
228 |
|
return; |
229 |
|
|
230 |
< |
mlen = snprintf(mbuf, sizeof(mbuf), ":%s BMASK %lu %s %c :", me.id, |
231 |
< |
(unsigned long)chptr->creationtime, chptr->name, flag); |
230 |
> |
mlen = snprintf(mbuf, sizeof(mbuf), ":%s BMASK %ju %s %c :", me.id, |
231 |
> |
chptr->creationtime, chptr->name, flag); |
232 |
|
cur_len = mlen; |
233 |
|
|
234 |
|
DLINK_FOREACH(node, list->head) |
1039 |
|
chptr->mode.mode |= MODE_TOPICLIMIT; |
1040 |
|
chptr->mode.mode |= MODE_NOPRIVMSGS; |
1041 |
|
|
1042 |
< |
sendto_server(client_p, 0, 0, ":%s SJOIN %lu %s +nt :@%s", |
1043 |
< |
me.id, (unsigned long)chptr->creationtime, |
1042 |
> |
sendto_server(client_p, 0, 0, ":%s SJOIN %ju %s +nt :@%s", |
1043 |
> |
me.id, chptr->creationtime, |
1044 |
|
chptr->name, client_p->id); |
1045 |
|
|
1046 |
|
/* |
1065 |
|
} |
1066 |
|
else |
1067 |
|
{ |
1068 |
< |
sendto_server(client_p, 0, 0, ":%s JOIN %lu %s +", |
1069 |
< |
client_p->id, (unsigned long)chptr->creationtime, |
1068 |
> |
sendto_server(client_p, 0, 0, ":%s JOIN %ju %s +", |
1069 |
> |
client_p->id, chptr->creationtime, |
1070 |
|
chptr->name); |
1071 |
|
|
1072 |
|
sendto_channel_local(NULL, chptr, 0, CAP_EXTENDED_JOIN, 0, ":%s!%s@%s JOIN %s %s :%s", |