diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-09 18:07:54 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-09 18:07:54 +0000 |
commit | de3d300845590cf4308520ee98693f004ddda376 (patch) | |
tree | 44bf071cf79722f0ec39206a257e8fef46ac5c42 | |
parent | 034368624cbe5923a1df069825fe1e65fbf00895 (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
-rw-r--r-- | src/modules/m_joinflood.cpp | 1 | ||||
-rw-r--r-- | src/modules/m_messageflood.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
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); |