diff options
Diffstat (limited to 'bridge/bridge.go')
-rw-r--r-- | bridge/bridge.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge/bridge.go b/bridge/bridge.go index a849ba67..2a9ea7c7 100644 --- a/bridge/bridge.go +++ b/bridge/bridge.go @@ -41,6 +41,9 @@ func NewBridge(cfg *config.Config) error { if len(b.Bridges) < 2 { log.Fatalf("only %d sections enabled. Need at least 2 sections enabled (eg [IRC] and [mattermost]", len(b.Bridges)) } + for _, br := range b.Bridges { + br.Connect() + } b.mapChannels() b.mapIgnores() b.handleReceive(c) |