diff options
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 afad75af..219f062e 100644 --- a/matterbridge.go +++ b/matterbridge.go @@ -19,7 +19,8 @@ type Bridge struct { func NewBridge(name string, config *Config) *Bridge { b := &Bridge{} b.Config = config - b.m = matterhook.New(b.Config.Mattermost.URL, matterhook.Config{Port: b.Config.Mattermost.Port}) + b.m = matterhook.New(b.Config.Mattermost.URL, + matterhook.Config{Port: b.Config.Mattermost.Port, Token: b.Config.Mattermost.Token}) b.i = b.createIRC(name) go b.handleMatter() return b |