[core] Fix wording for timeouts

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-11-10 23:28:23 +01:00
parent a1741fbf53
commit 8107cd7c64
Signed by: luzifer
GPG Key ID: 0066F03ED215AD7D
2 changed files with 4 additions and 4 deletions

2
irc.go
View File

@ -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

View File

@ -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`