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-7.3/src/channel.c (file contents):
Revision 1146 by michael, Thu Jul 28 20:00:19 2011 UTC vs.
Revision 1150 by michael, Wed Aug 3 01:09:49 2011 UTC

# Line 661 | Line 661 | can_join(struct Client *source_p, struct
661    if (is_banned(chptr, source_p))
662      return ERR_BANNEDFROMCHAN;
663  
664 + #ifdef HAVE_LIBCRYPTO
665 +  if ((chptr->mode.mode & MODE_SSLONLY) && !source_p->localClient->fd.ssl)
666 +    return ERR_SSLONLYCHAN;
667 + #endif
668 +
669 +  if ((chptr->mode.mode & MODE_OPERONLY) && !IsOper(source_p))
670 +    return ERR_OPERONLYCHAN;
671 +
672    if (chptr->mode.mode & MODE_INVITEONLY)
673      if (!dlinkFind(&source_p->localClient->invited, chptr))
674        if (!ConfigChannel.use_invex || !find_bmask(source_p, &chptr->invexlist))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines