From bdac03f725858fad0f55cd56fc5d72ac07073d79 Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 12 Dec 2015 21:26:53 +0100 Subject: Add BindAddress option. Closes #4 --- matterbridge.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'matterbridge.go') diff --git a/matterbridge.go b/matterbridge.go index 1ab3eacd..bd324608 100644 --- a/matterbridge.go +++ b/matterbridge.go @@ -22,7 +22,8 @@ func NewBridge(name string, config *Config) *Bridge { b.Config = config b.m = matterhook.New(b.Config.Mattermost.URL, matterhook.Config{Port: b.Config.Mattermost.Port, Token: b.Config.Mattermost.Token, - InsecureSkipVerify: b.Config.Mattermost.SkipTLSVerify}) + InsecureSkipVerify: b.Config.Mattermost.SkipTLSVerify, + BindAddress: b.Config.Mattermost.BindAddress}) b.i = b.createIRC(name) go b.handleMatter() return b -- cgit v1.2.3