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-8/src/channel.c (file contents):
Revision 1430 by michael, Thu Jun 7 19:21:04 2012 UTC vs.
Revision 1435 by michael, Fri Jun 15 18:35:37 2012 UTC

# Line 728 | Line 728 | can_send(struct Channel *chptr, struct C
728      if (ms->flags & (CHFL_CHANOP|CHFL_HALFOP|CHFL_VOICE))
729        return CAN_SEND_OPV;
730  
731    if (chptr->mode.mode & MODE_REGONLY)
732      if (!HasUMode(source_p, UMODE_REGISTERED))
733        return ERR_NEEDREGGEDNICK;
734
731      /* cache can send if quiet_on_ban and banned */
732      if (ConfigChannel.quiet_on_ban && MyClient(source_p))
733      {
# Line 756 | Line 752 | can_send(struct Channel *chptr, struct C
752    if (chptr->mode.mode & MODE_MODERATED)
753      return ERR_CANNOTSENDTOCHAN;
754  
759  if (chptr->mode.mode & MODE_REGONLY)
760    if (!HasUMode(source_p, UMODE_REGISTERED))
761      return ERR_NEEDREGGEDNICK;
762
755    return CAN_SEND_NONOP;
756   }
757  

Diff Legend

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