Fix a bug that stopped halfops from changing the topic.

This commit is contained in:
JD Horelick 2010-04-14 19:28:15 -04:00
parent ef61796891
commit b752a50272
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{