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 1953 by michael, Sun May 5 18:03:29 2013 UTC vs.
Revision 1954 by michael, Mon May 6 18:51:19 2013 UTC

# Line 751 | Line 751 | can_send(struct Channel *chptr, struct C
751        return CAN_SEND_OPV;
752    if (chptr->mode.mode & MODE_MODERATED)
753      return ERR_CANNOTSENDTOCHAN;
754 <  if ((chptr->mode.mode & MODE_REGONLY) && !HasUMode(source_p, UMODE_REGISTERED))
754 >  if ((chptr->mode.mode & MODE_MODREG) && !HasUMode(source_p, UMODE_REGISTERED))
755      return ERR_NEEDREGGEDNICK;
756  
757    /* cache can send if banned */

Diff Legend

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