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; |
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 |
|
{ |