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 2207 by michael, Fri May 31 17:18:20 2013 UTC vs.
Revision 2208 by michael, Wed Jun 5 21:06:43 2013 UTC

# Line 641 | Line 641 | is_banned(const struct Channel *chptr, c
641   int
642   can_join(struct Client *source_p, struct Channel *chptr, const char *key)
643   {
644  if (is_banned(chptr, source_p))
645    return ERR_BANNEDFROMCHAN;
646
644   #ifdef HAVE_LIBCRYPTO
645    if ((chptr->mode.mode & MODE_SSLONLY) && !source_p->localClient->fd.ssl)
646      return ERR_SSLONLYCHAN;
# Line 670 | Line 667 | can_join(struct Client *source_p, struct
667        chptr->mode.limit)
668      return ERR_CHANNELISFULL;
669  
670 +  if (is_banned(chptr, source_p))
671 +    return ERR_BANNEDFROMCHAN;
672 +
673    return 0;
674   }
675  

Diff Legend

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