From 54216cec4b4f2023306e378587b1ac55dc720968 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 30 Jul 2017 16:12:33 +0200 Subject: Remove unused function --- gateway/router.go | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'gateway') diff --git a/gateway/router.go b/gateway/router.go index eb8251ed..167e2057 100644 --- a/gateway/router.go +++ b/gateway/router.go @@ -70,16 +70,6 @@ func (r *Router) getBridge(account string) *bridge.Bridge { return nil } -func (r *Router) getGatewayName(channelID string) []string { - var names []string - for _, gw := range r.Gateways { - if _, ok := gw.Channels[channelID]; ok { - names = append(names, gw.Name) - } - } - return names -} - func (r *Router) handleReceive() { for msg := range r.Message { if msg.Event == config.EVENT_FAILURE { -- cgit v1.2.3