mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
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:
parent
a22f9e6b46
commit
567142ef7a
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user