diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_messageflood.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp index bf071e18d..012c95a8e 100644 --- a/src/modules/m_messageflood.cpp +++ b/src/modules/m_messageflood.cpp @@ -236,7 +236,9 @@ class ModuleMsgFlood : public Module Event rmode((char *)&n, NULL, "send_mode"); rmode.Send(ServerInstance); } - dest->ServerKickUser(user, "Channel flood triggered (mode +f)", true); + char kickmessage[MAXBUF]; + snprintf(kickmessage, MAXBUF, "Channel flood triggered (limit is %d lines in %d secs)", f->lines, f->secs); + dest->ServerKickUser(user, kickmessage, true); } } } |