From b752a50272de6efa9b4b80dc2917775e525ada07 Mon Sep 17 00:00:00 2001 From: JD Horelick Date: Wed, 14 Apr 2010 19:28:15 -0400 Subject: [PATCH] Fix a bug that stopped halfops from changing the topic. --- modules/m_topic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/m_topic.c b/modules/m_topic.c index ff72fb4..afadae2 100644 --- a/modules/m_topic.c +++ b/modules/m_topic.c @@ -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)) {