summaryrefslogtreecommitdiff
path: root/src/modules/m_messageflood.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_messageflood.cpp')
-rw-r--r--src/modules/m_messageflood.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp
index 86296094b..2e91cdf06 100644
--- a/src/modules/m_messageflood.cpp
+++ b/src/modules/m_messageflood.cpp
@@ -102,7 +102,6 @@ class MsgFlood : public ModeHandler
ext.set(channel, new floodsettings(ban, nsecs, nlines));
parameter = std::string(ban ? "*" : "") + ConvToStr(nlines) + ":" + ConvToStr(nsecs);
- channel->SetModeParam('f', parameter);
return MODEACTION_ALLOW;
}
else
@@ -111,7 +110,6 @@ class MsgFlood : public ModeHandler
return MODEACTION_DENY;
ext.unset(channel);
- channel->SetModeParam('f', "");
return MODEACTION_ALLOW;
}
}