summaryrefslogtreecommitdiffstats
path: root/gateway/router.go
diff options
context:
space:
mode:
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 {