mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 16:50:01 +00:00
[core] Fix: Set channel for incoming host through jtv message
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
8247978151
commit
b1d5c37761
1 changed files with 1 additions and 0 deletions
1
irc.go
1
irc.go
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue