From 399789811ecab11f7dfb775f83d063b20167bb1d Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 8 Nov 2018 00:46:34 +0100 Subject: Make gocritic linter happy --- bridge/discord/discord.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/discord') 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)) } } -- cgit v1.2.3