986 |
|
client_p->host, chptr->name); |
987 |
|
sendto_channel_local(NULL, chptr, 0, 0, 0, ":%s MODE %s +nt", |
988 |
|
me.name, chptr->name); |
989 |
– |
|
990 |
– |
if (client_p->away[0]) |
991 |
– |
sendto_channel_local(client_p, chptr, 0, CAP_AWAY_NOTIFY, 0, |
992 |
– |
":%s!%s@%s AWAY :%s", |
993 |
– |
client_p->name, client_p->username, |
994 |
– |
client_p->host, client_p->away); |
989 |
|
} |
990 |
|
else |
991 |
|
{ |
999 |
|
sendto_channel_local(NULL, chptr, 0, 0, CAP_EXTENDED_JOIN, ":%s!%s@%s JOIN :%s", |
1000 |
|
client_p->name, client_p->username, |
1001 |
|
client_p->host, chptr->name); |
1008 |
– |
|
1009 |
– |
if (client_p->away[0]) |
1010 |
– |
sendto_channel_local(client_p, chptr, 0, CAP_AWAY_NOTIFY, 0, |
1011 |
– |
":%s!%s@%s AWAY :%s", |
1012 |
– |
client_p->name, client_p->username, |
1013 |
– |
client_p->host, client_p->away); |
1002 |
|
} |
1003 |
|
|
1004 |
+ |
if (client_p->away[0]) |
1005 |
+ |
sendto_channel_local(client_p, chptr, 0, CAP_AWAY_NOTIFY, 0, |
1006 |
+ |
":%s!%s@%s AWAY :%s", |
1007 |
+ |
client_p->name, client_p->username, |
1008 |
+ |
client_p->host, client_p->away); |
1009 |
+ |
|
1010 |
|
struct Invite *invite; |
1011 |
|
if ((invite = find_invite(chptr, client_p))) |
1012 |
|
del_invite(invite); |