m_messageflood Improve kick message

Fixes issue #1019 reported by @B00mX0r

Also add back a missing word caused by an oversight in #531
This commit is contained in:
Attila Molnar 2016-08-24 12:07:31 +02:00
parent a22f9e6b46
commit 567142ef7a

View 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);