summaryrefslogtreecommitdiff
path: root/src/modules/m_joinflood.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-06-13 19:00:01 +0200
committerattilamolnar <attilamolnar@hush.com>2013-06-13 19:00:01 +0200
commit95593de52c9b89dd3dae8d79a2c76efc81d9d353 (patch)
treec99c8b3172b299a7d520faf7b5e69d0e3196aa05 /src/modules/m_joinflood.cpp
parentc25a59d9036444872d831a126c6326f3d8be5e74 (diff)
Call Channel::SetModeParam() from the mode parser when needed instead of requiring mode handlers to do it
Diffstat (limited to 'src/modules/m_joinflood.cpp')
-rw-r--r--src/modules/m_joinflood.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp
index fde974559..53277150a 100644
--- a/src/modules/m_joinflood.cpp
+++ b/src/modules/m_joinflood.cpp
@@ -119,7 +119,6 @@ class JoinFlood : public ModeHandler
ext.set(channel, jfs);
parameter = ConvToStr(njoins) + ":" + ConvToStr(nsecs);
- channel->SetModeParam(this, parameter);
return MODEACTION_ALLOW;
}
else
@@ -131,7 +130,6 @@ class JoinFlood : public ModeHandler
if (f)
{
ext.unset(channel);
- channel->SetModeParam(this, "");
return MODEACTION_ALLOW;
}
}