From 8107cd7c643b436c4e533eaaa96bc9fe56db23e4 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 10 Nov 2021 23:28:23 +0100 Subject: [PATCH] [core] Fix wording for timeouts Signed-off-by: Knut Ahlers --- irc.go | 2 +- wiki/Events.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/irc.go b/irc.go index 12caa7d..50e04c1 100644 --- a/irc.go +++ b/irc.go @@ -211,7 +211,7 @@ func (i ircHandler) handleClearChat(m *irc.Message) { fields["seconds"] = seconds fields["target_id"] = targetUserID fields["target_name"] = m.Trailing() - log.WithFields(log.Fields(fields)).Info("User was timeouted") + log.WithFields(log.Fields(fields)).Info("User was timed out") case hasTargetUserID: // User w/o Duration = Ban diff --git a/wiki/Events.md b/wiki/Events.md index 7e83379..5ce9e19 100644 --- a/wiki/Events.md +++ b/wiki/Events.md @@ -136,15 +136,15 @@ Fields: ## `timeout` -Moderator action caused a user to be timeouted from chat. +Moderator action caused a user to be timed out from chat. Fields: - `channel` - The channel the event occurred in - `duration` - The timeout duration (`time.Duration`, nanoseconds) - `seconds` - The timeout duration (`int`, seconds) -- `target_id` - The ID of the user being timeouted -- `target_name` - The login-name of the user being timeouted +- `target_id` - The ID of the user being timed out +- `target_name` - The login-name of the user being timed out ## `title_update`