diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-13 17:48:33 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-13 17:48:33 +0000 |
commit | 28a4e0417edba9d9ca846d46a8875f20020962b2 (patch) | |
tree | 8c59c87a645e14a7c80a02e1faec3b013b989fdf /src/modules/m_joinflood.cpp | |
parent | 5f02706fb0a3db069a2e5a7754c2aad91cbe86e4 (diff) |
And fix again
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5224 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_joinflood.cpp')
-rw-r--r-- | src/modules/m_joinflood.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |