summaryrefslogtreecommitdiff
path: root/src/modules/m_messageflood.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-09 18:07:54 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-09 18:07:54 +0000
commitde3d300845590cf4308520ee98693f004ddda376 (patch)
tree44bf071cf79722f0ec39206a257e8fef46ac5c42 /src/modules/m_messageflood.cpp
parent034368624cbe5923a1df069825fe1e65fbf00895 (diff)
Same here, tidy up the parameter to show what we actually stored (e.g. 1:5fdfds -> 1:5)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4241 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_messageflood.cpp')
-rw-r--r--src/modules/m_messageflood.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp
index bcec8248b..c2fbe671f 100644
--- a/src/modules/m_messageflood.cpp
+++ b/src/modules/m_messageflood.cpp
@@ -133,6 +133,7 @@ class MsgFlood : public ModeHandler
{
if (!channel->GetExt("flood"))
{
+ parameter = ConvToStr(nlines) + ":" +ConvToStr(nsecs);
floodsettings *f = new floodsettings(ban,nsecs,nlines);
channel->Extend("flood",(char*)f);
channel->SetMode('f', true);