summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-08-24 12:07:31 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-08-24 12:07:31 +0200
commit567142ef7a82175f3141af255bbe70eae22983cc (patch)
tree3ccd8995c7e0c09a21a10c294f0396eaea8fef22 /src/modules
parenta22f9e6b4688f5435d23a3d91bfc6574e74c7113 (diff)
m_messageflood Improve kick message
Fixes issue #1019 reported by @B00mX0r Also add back a missing word caused by an oversight in #531
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_messageflood.cpp4
1 files changed, 2 insertions, 2 deletions
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);