From b1a41ac70a4dc84c7a23ec7af54edb57697b11a8 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 23 Dec 2021 15:06:45 +0100 Subject: [PATCH] [core] Fix: PRIVMSG does not contain "login"-tag Signed-off-by: Knut Ahlers --- irc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc.go b/irc.go index 72d37b6..c00b21c 100644 --- a/irc.go +++ b/irc.go @@ -334,7 +334,7 @@ func (i ircHandler) handleTwitchPrivmsg(m *irc.Message) { fields := plugins.FieldCollectionFromData(map[string]interface{}{ "bits": bits, "channel": i.getChannel(m), // Compatibility to plugins.DeriveChannel - "user": m.Tags["login"], // Compatibility to plugins.DeriveUser + "user": m.User, // Compatibility to plugins.DeriveUser }) log.WithFields(log.Fields(fields.Data())).Info("User spent bits in chat message")