87 |
++name; |
++name; |
88 |
break; |
break; |
89 |
case '#': |
case '#': |
|
case '&': |
|
90 |
prefix = ""; |
prefix = ""; |
91 |
flags = 0; |
flags = 0; |
92 |
modeletter = '\0'; |
modeletter = '\0'; |
109 |
{ |
{ |
110 |
add_user_to_channel(chptr, source_p, flags, 0); |
add_user_to_channel(chptr, source_p, flags, 0); |
111 |
|
|
112 |
if (chptr->chname[0] == '#') |
DLINK_FOREACH(ptr, serv_list.head) |
113 |
DLINK_FOREACH(ptr, serv_list.head) |
{ |
114 |
{ |
struct Client *serv_p = ptr->data; |
|
struct Client *serv_p = ptr->data; |
|
115 |
|
|
116 |
sendto_one(serv_p, ":%s SJOIN %lu %s + :%s%s", ID_or_name(&me, serv_p), |
sendto_one(serv_p, ":%s SJOIN %lu %s + :%s%s", ID_or_name(&me, serv_p), |
117 |
(unsigned long)chptr->channelts, chptr->chname, |
(unsigned long)chptr->channelts, chptr->chname, |
118 |
(*prefix == '%' && !IsCapable(serv_p, CAP_HOPS)) ? |
(*prefix == '%' && !IsCapable(serv_p, CAP_HOPS)) ? |
119 |
"@" : prefix, ID_or_name(source_p, serv_p)); |
"@" : prefix, ID_or_name(source_p, serv_p)); |
120 |
} |
} |
121 |
|
|
122 |
sendto_channel_local(ALL_MEMBERS, 0, chptr, ":%s!%s@%s JOIN %s", |
sendto_channel_local(ALL_MEMBERS, 0, chptr, ":%s!%s@%s JOIN %s", |
123 |
source_p->name, source_p->username, |
source_p->name, source_p->username, |