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 5983 by michael, Mon May 25 15:24:48 2015 UTC vs.
Revision 6313 by michael, Sat Aug 1 18:03:39 2015 UTC

# Line 752 | Line 752 | can_send(struct Channel *chptr, struct C
752    if (IsServer(source_p) || HasFlag(source_p, FLAGS_SERVICE))
753      return CAN_SEND_OPV;
754  
755 <  if (MyClient(source_p) && !IsExemptResv(source_p))
755 >  if (MyClient(source_p) && !HasFlag(source_p, FLAGS_EXEMPTRESV))
756      if (!(HasUMode(source_p, UMODE_OPER) && ConfigGeneral.oper_pass_resv))
757        if ((conf = match_find_resv(chptr->name)) && !resv_find_exempt(source_p, conf))
758          return ERR_CANNOTSENDTOCHAN;
# Line 1015 | Line 1015 | channel_do_join(struct Client *source_p,
1015        continue;
1016      }
1017  
1018 <    if (!IsExemptResv(source_p) &&
1018 >    if (!HasFlag(source_p, FLAGS_EXEMPTRESV) &&
1019          !(HasUMode(source_p, UMODE_OPER) && ConfigGeneral.oper_pass_resv) &&
1020          ((conf = match_find_resv(chan)) && !resv_find_exempt(source_p, conf)))
1021      {

Diff Legend

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