From 1987b5da5b963cac2d953997c55c53f7983d72a7 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Mon, 27 Dec 2010 17:31:11 +0100 Subject: [PATCH] Fix topic changes after 6af636dce2e6. --- 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 c8328f1c5..a0065c213 100644 --- a/modules/m_topic.c +++ b/modules/m_topic.c @@ -125,7 +125,7 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char * } if(((chptr->mode.mode & MODE_TOPICLIMIT) == 0 || - get_channel_access(source_p, msptr) < CHFL_CHANOP) && + get_channel_access(source_p, msptr) >= CHFL_CHANOP) && (!MyClient(source_p) || can_send(chptr, source_p, msptr))) {