summaryrefslogtreecommitdiffstats
path: root/bridge/slack
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-07-14 00:35:01 +0200
committerWim <wim@42.be>2017-07-14 00:35:01 +0200
commit6dee988b76852c6b15ef59061896ce48ce6ba978 (patch)
treeb2a187be4850e212400bb9627e60327c63370b30 /bridge/slack
parent5af40db3965649348143a530bea671574fb1ef54 (diff)
downloadmatterbridge-msglm-6dee988b76852c6b15ef59061896ce48ce6ba978.tar.gz
matterbridge-msglm-6dee988b76852c6b15ef59061896ce48ce6ba978.tar.bz2
matterbridge-msglm-6dee988b76852c6b15ef59061896ce48ce6ba978.zip
Fix megacheck / go vet issues
Diffstat (limited to 'bridge/slack')
-rw-r--r--bridge/slack/slack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go
index c1e324a9..6555d40b 100644
--- a/bridge/slack/slack.go
+++ b/bridge/slack/slack.go
@@ -120,7 +120,7 @@ func (b *Bslack) Send(msg config.Message) error {
return err
}
np := slack.NewPostMessageParameters()
- if b.Config.PrefixMessagesWithNick == true {
+ if b.Config.PrefixMessagesWithNick {
np.AsUser = true
}
np.Username = nick