From 28a4e0417edba9d9ca846d46a8875f20020962b2 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 13 Sep 2006 17:48:33 +0000 Subject: And fix again git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5224 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_joinflood.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp index 391f13b24..f372f1990 100644 --- a/src/modules/m_joinflood.cpp +++ b/src/modules/m_joinflood.cpp @@ -169,7 +169,7 @@ class JoinFlood : public ModeHandler else { // new mode param, replace old with new - if ((!nsecs) && (!njoins)) + if ((!nsecs > 0) && (!njoins > 0)) { joinfloodsettings *f = new joinfloodsettings(nsecs,njoins); channel->Shrink("joinflood"); -- cgit v1.2.3