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 5462 by michael, Sun Jan 11 12:41:14 2015 UTC vs.
Revision 5463 by michael, Wed Feb 4 18:18:26 2015 UTC

# Line 751 | Line 751 | can_send(struct Channel *chptr, struct C
751    if ((chptr->mode.mode & MODE_NOCTRL) && msg_has_ctrls(message))
752      return ERR_NOCTRLSONCHAN;
753  
754 +  if (chptr->mode.mode & MODE_NOCTCP)
755 +    if (*message++ == '\001' && strncmp(message, "ACTION ", 7))
756 +      return ERR_NOCTCP;
757 +
758    if (member || (member = find_channel_link(source_p, chptr)))
759      if (member->flags & (CHFL_CHANOP|CHFL_HALFOP|CHFL_VOICE))
760        return CAN_SEND_OPV;

Diff Legend

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