1131 |
|
* only allow /part reasons in -m chans |
1132 |
|
*/ |
1133 |
|
if (*reason && (!MyConnect(client_p) || |
1134 |
< |
((can_send(chptr, client_p, member, reason) < 0 && |
1135 |
< |
(client_p->connection->firsttime + ConfigGeneral.anti_spam_exit_message_time) |
1136 |
< |
< CurrentTime)))) |
1134 |
> |
((client_p->connection->firsttime + |
1135 |
> |
ConfigGeneral.anti_spam_exit_message_time) < CurrentTime && |
1136 |
> |
can_send(chptr, client_p, member, reason, 0) < 0))) |
1137 |
|
{ |
1138 |
|
sendto_server(client_p, 0, 0, ":%s PART %s :%s", |
1139 |
|
client_p->id, chptr->name, reason); |