summaryrefslogtreecommitdiffstats
path: root/gateway/router.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-11-08 22:29:34 +0100
committerWim <wim@42.be>2018-11-08 22:29:34 +0100
commit78401214b0b5d26fd3f0d10139061edce35e56c1 (patch)
tree21965e91716e118180e9d928ebabb08a8d90daef /gateway/router.go
parentb2a07aba3a4343087bdbaa2bb5ef7d703bca79e1 (diff)
downloadmatterbridge-msglm-78401214b0b5d26fd3f0d10139061edce35e56c1.tar.gz
matterbridge-msglm-78401214b0b5d26fd3f0d10139061edce35e56c1.tar.bz2
matterbridge-msglm-78401214b0b5d26fd3f0d10139061edce35e56c1.zip
Make scopelint happy
Diffstat (limited to 'gateway/router.go')
-rw-r--r--gateway/router.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/gateway/router.go b/gateway/router.go
index 3a45de36..1ea3f940 100644
--- a/gateway/router.go
+++ b/gateway/router.go
@@ -70,6 +70,7 @@ func (r *Router) getBridge(account string) *bridge.Bridge {
func (r *Router) handleReceive() {
for msg := range r.Message {
+ msg := msg // scopelint
if msg.Event == config.EVENT_FAILURE {
Loop:
for _, gw := range r.Gateways {