]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
m_messageflood Improve kick message
authorAttila Molnar <attilamolnar@hush.com>
Wed, 24 Aug 2016 10:07:31 +0000 (12:07 +0200)
committerAttila Molnar <attilamolnar@hush.com>
Wed, 24 Aug 2016 10:07:31 +0000 (12:07 +0200)
Fixes issue #1019 reported by @B00mX0r

Also add back a missing word caused by an oversight in #531

src/modules/m_messageflood.cpp

index c5c872169ea1a2b360ff24d60a240e756a790b05..7323605cb0203c65435d28f6022eb6f08a1ef558 100644 (file)
@@ -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);