diff options
author | Wim <wim@42.be> | 2016-07-11 23:22:56 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2016-07-11 23:22:56 +0200 |
commit | ced371bece6bcdadba3f61bb70f5f5aa24bc3c23 (patch) | |
tree | 87f6df50e5a6d4428d3fbbfb2f197575c6b86eda /bridge/bridge.go | |
parent | a87cac1982c0869fca161b0c417da3cd13742ce9 (diff) | |
download | matterbridge-msglm-ced371bece6bcdadba3f61bb70f5f5aa24bc3c23.tar.gz matterbridge-msglm-ced371bece6bcdadba3f61bb70f5f5aa24bc3c23.tar.bz2 matterbridge-msglm-ced371bece6bcdadba3f61bb70f5f5aa24bc3c23.zip |
Add port to BindAddress
Diffstat (limited to 'bridge/bridge.go')
-rw-r--r-- | bridge/bridge.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/bridge.go b/bridge/bridge.go index 7f318c3c..8e2b1393 100644 --- a/bridge/bridge.go +++ b/bridge/bridge.go @@ -79,7 +79,7 @@ func NewBridge(name string, config *Config, kind string) *Bridge { } if kind == Legacy { b.mh = matterhook.New(b.Config.Mattermost.URL, - matterhook.Config{Port: b.Config.Mattermost.Port, Token: b.Config.Mattermost.Token, + matterhook.Config{Token: b.Config.Mattermost.Token, InsecureSkipVerify: b.Config.Mattermost.SkipTLSVerify, BindAddress: b.Config.Mattermost.BindAddress}) } else { @@ -182,7 +182,7 @@ func (b *Bridge) ircNickFormat(nick string) string { } func (b *Bridge) handlePrivMsg(event *irc.Event) { - flog.irc.Debugf("handlePrivMsg() %s %s", event.Nick, event.Message) + flog.irc.Debugf("handlePrivMsg() %s %s", event.Nick, event.Message()) if b.ignoreMessage(event.Nick, event.Message(), "irc") { return } |