diff options
| author | 2006-07-09 18:07:54 +0000 | |
|---|---|---|
| committer | 2006-07-09 18:07:54 +0000 | |
| commit | de3d300845590cf4308520ee98693f004ddda376 (patch) | |
| tree | 44bf071cf79722f0ec39206a257e8fef46ac5c42 /src/modules/m_messageflood.cpp | |
| parent | Tidy up invalid numbers passed to this function (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.cpp | 1 |
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); |
