return 0;
}
- if(MyClient(source_p) && (chptr->mode.mode & MODE_TOPICLIMIT) && !is_chanop(msptr))
+ if(MyClient(source_p) && (chptr->mode.mode & MODE_TOPICLIMIT) && !is_any_op(msptr) && !can_send(chptr, source_p, msptr))
{
if(IsOverride(source_p))
{
get_oper_name(source_p), chptr->chname);
sendto_server(NULL, chptr, NOCAPS, NOCAPS,
":%s WALLOPS :%s is overriding TOPIC on [%s]",
- use_id(source_p), get_oper_name(source_p), chptr->chname);
+ me.name, get_oper_name(source_p), chptr->chname);
}
else
{