summaryrefslogtreecommitdiff
path: root/src/modules/m_joinflood.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-13 17:52:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-13 17:52:58 +0000
commit23a9954ba8e83f991a9422d33186ca631c98a539 (patch)
treefa05681a5eaa669159e2b81d041d9e3130c96b2a /src/modules/m_joinflood.cpp
parent002a4dec73f5667dfc712398be895b8913e0d23d (diff)
Fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5226 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_joinflood.cpp')
-rw-r--r--src/modules/m_joinflood.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp
index f372f1990..54798910c 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 > 0) && (!njoins > 0))
+ if ((nsecs > 0) && (njoins > 0))
{
joinfloodsettings *f = new joinfloodsettings(nsecs,njoins);
channel->Shrink("joinflood");