From 567142ef7a82175f3141af255bbe70eae22983cc Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Wed, 24 Aug 2016 12:07:31 +0200 Subject: m_messageflood Improve kick message Fixes issue #1019 reported by @B00mX0r Also add back a missing word caused by an oversight in #531 --- src/modules/m_messageflood.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp index c5c872169..7323605cb 100644 --- a/src/modules/m_messageflood.cpp +++ b/src/modules/m_messageflood.cpp @@ -138,8 +138,8 @@ class ModuleMsgFlood : public Module ServerInstance->Modes->Process(ServerInstance->FakeClient, dest, NULL, changelist); } - const std::string kickMessage = "Channel flood triggered (limit is " + ConvToStr(f->lines) + - " in " + ConvToStr(f->secs) + " secs)"; + const std::string kickMessage = "Channel flood triggered (trigger is " + ConvToStr(f->lines) + + " lines in " + ConvToStr(f->secs) + " secs)"; dest->KickUser(ServerInstance->FakeClient, user, kickMessage); -- cgit v1.2.3