Fix a bug that stopped halfops from changing the topic.
This commit is contained in:
parent
ef61796891
commit
b752a50272
|
@ -116,7 +116,7 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char *
|
|||
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))
|
||||
{
|
||||
if(IsOverride(source_p))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue