From de3d300845590cf4308520ee98693f004ddda376 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 9 Jul 2006 18:07:54 +0000 Subject: 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 --- src/modules/m_joinflood.cpp | 1 + src/modules/m_messageflood.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'src') diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp index 43b45be69..cd233a01c 100644 --- a/src/modules/m_joinflood.cpp +++ b/src/modules/m_joinflood.cpp @@ -134,6 +134,7 @@ class JoinFlood : public ModeHandler { if (!channel->GetExt("joinflood")) { + parameter = ConvToStr(njoins) + ":" +ConvToStr(nsecs); joinfloodsettings *f = new joinfloodsettings(nsecs,njoins); channel->Extend("joinflood",(char*)f); channel->SetMode('j', true); 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); -- cgit v1.2.3