/* unconditionally require ops, unless the channel is +g */
/* treat remote clients as chanops */
- if(MyClient(source_p) && !is_chanop(msptr) && !IsOverride(source_p) &&
+ if(MyClient(source_p) && !is_any_op(msptr) && !IsOverride(source_p) &&
!(chptr->mode.mode & MODE_FREEINVITE))
{
sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED),