summaryrefslogtreecommitdiffstats
path: root/bridge/steam/steam.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/steam/steam.go')
-rw-r--r--bridge/steam/steam.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/bridge/steam/steam.go b/bridge/steam/steam.go
index aa125e4a..25291ff4 100644
--- a/bridge/steam/steam.go
+++ b/bridge/steam/steam.go
@@ -69,13 +69,13 @@ func (b *Bsteam) JoinChannel(channel config.ChannelInfo) error {
return nil
}
-func (b *Bsteam) Send(msg config.Message) error {
+func (b *Bsteam) Send(msg config.Message) (string, error) {
id, err := steamid.NewId(msg.Channel)
if err != nil {
- return err
+ return "", err
}
b.c.Social.SendMessage(id, steamlang.EChatEntryType_ChatMsg, msg.Username+msg.Text)
- return nil
+ return "", nil
}
func (b *Bsteam) getNick(id steamid.SteamId) string {