summaryrefslogtreecommitdiffstats
path: root/bridge/helper
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/helper
parent8d117cb0a48b4b7d137d1900cf0160755bfb1b65 (diff)
downloadmatterbridge-msglm-399789811ecab11f7dfb775f83d063b20167bb1d.tar.gz
matterbridge-msglm-399789811ecab11f7dfb775f83d063b20167bb1d.tar.bz2
matterbridge-msglm-399789811ecab11f7dfb775f83d063b20167bb1d.zip
Make gocritic linter happy
Diffstat (limited to 'bridge/helper')
-rw-r--r--bridge/helper/helper.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/helper/helper.go b/bridge/helper/helper.go
index bfa7d827..dab2bb47 100644
--- a/bridge/helper/helper.go
+++ b/bridge/helper/helper.go
@@ -44,7 +44,7 @@ func SplitStringLength(input string, length int) string {
a := []rune(input)
str := ""
for i, r := range a {
- str = str + string(r)
+ str += string(r)
if i > 0 && (i+1)%length == 0 {
str += "\n"
}