746 |
|
return CAN_SEND_OPV; |
747 |
|
|
748 |
|
if (MyClient(source_p) && !HasFlag(source_p, FLAGS_EXEMPTRESV)) |
749 |
< |
if (!(HasUMode(source_p, UMODE_OPER) && ConfigGeneral.oper_pass_resv)) |
749 |
> |
if (!(HasUMode(source_p, UMODE_OPER) && HasOFlag(source_p, OPER_FLAG_JOIN_RESV))) |
750 |
|
if ((conf = match_find_resv(chptr->name)) && !resv_find_exempt(source_p, conf)) |
751 |
|
return ERR_CANNOTSENDTOCHAN; |
752 |
|
|
978 |
|
} |
979 |
|
|
980 |
|
if (!HasFlag(source_p, FLAGS_EXEMPTRESV) && |
981 |
< |
!(HasUMode(source_p, UMODE_OPER) && ConfigGeneral.oper_pass_resv) && |
981 |
> |
!(HasUMode(source_p, UMODE_OPER) && HasOFlag(source_p, OPER_FLAG_JOIN_RESV)) && |
982 |
|
((conf = match_find_resv(chan)) && !resv_find_exempt(source_p, conf))) |
983 |
|
{ |
984 |
|
++conf->count; |