diff options
author | Wim <wim@42.be> | 2015-12-12 21:26:53 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2015-12-12 23:20:13 +0100 |
commit | bdac03f725858fad0f55cd56fc5d72ac07073d79 (patch) | |
tree | a3935f4a26fa4b470f25c9bbdba0cf78932c9c10 /matterbridge.go | |
parent | c1f80383f7cb08c108afc8e093023d09864cc5a2 (diff) | |
download | matterbridge-msglm-bdac03f725858fad0f55cd56fc5d72ac07073d79.tar.gz matterbridge-msglm-bdac03f725858fad0f55cd56fc5d72ac07073d79.tar.bz2 matterbridge-msglm-bdac03f725858fad0f55cd56fc5d72ac07073d79.zip |
Add BindAddress option. Closes #4
Diffstat (limited to 'matterbridge.go')
-rw-r--r-- | matterbridge.go | 3 |
1 files changed, 2 insertions, 1 deletions
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 |