diff options
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 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"); |