summaryrefslogtreecommitdiffstats
path: root/matterbridge.go
diff options
context:
space:
mode:
Diffstat (limited to 'matterbridge.go')
-rw-r--r--matterbridge.go3
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