ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/channel.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/src/channel.c (file contents):
Revision 6902 by michael, Mon Dec 7 17:42:18 2015 UTC vs.
Revision 6907 by michael, Mon Dec 7 18:28:41 2015 UTC

# Line 1131 | Line 1131 | channel_part_one_client(struct Client *c
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);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines