summaryrefslogtreecommitdiffstats
path: root/bridge/discord
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-11-08 00:46:34 +0100
committerWim <wim@42.be>2018-11-08 00:46:34 +0100
commit399789811ecab11f7dfb775f83d063b20167bb1d (patch)
tree771636eeeec33a66be1def907cc27f25edf10506 /bridge/discord
parent8d117cb0a48b4b7d137d1900cf0160755bfb1b65 (diff)
downloadmatterbridge-msglm-399789811ecab11f7dfb775f83d063b20167bb1d.tar.gz
matterbridge-msglm-399789811ecab11f7dfb775f83d063b20167bb1d.tar.bz2
matterbridge-msglm-399789811ecab11f7dfb775f83d063b20167bb1d.zip
Make gocritic linter happy
Diffstat (limited to 'bridge/discord')
-rw-r--r--bridge/discord/discord.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go
index 0549187f..94a09186 100644
--- a/bridge/discord/discord.go
+++ b/bridge/discord/discord.go
@@ -234,7 +234,7 @@ func (b *Bdiscord) messageUpdate(s *discordgo.Session, m *discordgo.MessageUpdat
// only when message is actually edited
if m.Message.EditedTimestamp != "" {
b.Log.Debugf("Sending edit message")
- m.Content = m.Content + b.GetString("EditSuffix")
+ m.Content += b.GetString("EditSuffix")
b.messageCreate(s, (*discordgo.MessageCreate)(m))
}
}