[core] Fix: Set channel for incoming host through jtv message

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-11-25 23:55:26 +01:00
parent 8247978151
commit b1d5c37761
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

1
irc.go
View file

@ -307,6 +307,7 @@ func (i ircHandler) handleTwitchPrivmsg(m *irc.Message) {
}
fields := plugins.FieldCollectionFromData(map[string]interface{}{
"channel": fmt.Sprintf("#%s", i.user),
"from": matches[1],
"viewerCount": 0,
})