summaryrefslogtreecommitdiffstats
path: root/bridge/mattermost/mattermost.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/mattermost/mattermost.go')
-rw-r--r--bridge/mattermost/mattermost.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/bridge/mattermost/mattermost.go b/bridge/mattermost/mattermost.go
index 126bab43..dec8fcb4 100644
--- a/bridge/mattermost/mattermost.go
+++ b/bridge/mattermost/mattermost.go
@@ -96,12 +96,7 @@ func (b *Bmattermost) Send(msg config.Message) error {
channel := msg.Channel
if b.Config.PrefixMessagesWithNick {
- /*if IsMarkup(message) {
- message = nick + "\n\n" + message
- } else {
- */
- message = nick + " " + message
- //}
+ message = nick + message
}
if !b.Config.UseAPI {
matterMessage := matterhook.OMessage{IconURL: b.Config.IconURL}