summaryrefslogtreecommitdiffstats
path: root/bridge/slack
diff options
context:
space:
mode:
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