From 28710d0bc7d5bd564d702953c490a865b0cc438d Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 12 Aug 2017 14:51:41 +0200 Subject: Allow a webhookurl per channel (discord). #239 --- bridge/steam/steam.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bridge/steam/steam.go') diff --git a/bridge/steam/steam.go b/bridge/steam/steam.go index ad4b1988..aa125e4a 100644 --- a/bridge/steam/steam.go +++ b/bridge/steam/steam.go @@ -60,8 +60,8 @@ func (b *Bsteam) Disconnect() error { } -func (b *Bsteam) JoinChannel(channel string) error { - id, err := steamid.NewId(channel) +func (b *Bsteam) JoinChannel(channel config.ChannelInfo) error { + id, err := steamid.NewId(channel.Name) if err != nil { return err } -- cgit v1.2.3