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

Comparing ircd-hybrid/trunk/src/channel.c (file contents):
Revision 6904 by michael, Mon Dec 7 17:48:05 2015 UTC vs.
Revision 6906 by michael, Mon Dec 7 18:28:28 2015 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)