- sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED),
- me.name, source_p->name, parv[2]);
- return 0;
+ if(IsOverride(source_p))
+ sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
+ "%s is overriding INVITE [%s] on [%s]",
+ get_oper_name(source_p), target_p->name, chptr->chname);
+ else
+ {
+ sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED),
+ me.name, source_p->name, parv[2]);
+ return 0;
+ }