From 3b48134eef499aab8912f9ddfd41c18f6cd61d61 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 15 Apr 2005 00:43:15 +0000 Subject: Someone got a comparison completely the wrong way around (and it wasnt spotted!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1098 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_redirect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp index 2d471ccab..77011c72f 100644 --- a/src/modules/m_redirect.cpp +++ b/src/modules/m_redirect.cpp @@ -82,7 +82,7 @@ class ModuleRedirect : public Module { if (chan->IsCustomModeSet('L')) { - if (chan->limit >= Srv->CountUsers(chan)) + if (Srv->CountUsers(chan) >= chan->limit) { std::string channel = chan->GetModeParameter('L'); WriteServ(user->fd,"470 %s :%s has become full, so you are automatically being transferred to the linked channel %s",user->nick,cname,channel.c_str()); -- cgit v1.2.3