From ced371bece6bcdadba3f61bb70f5f5aa24bc3c23 Mon Sep 17 00:00:00 2001 From: Wim Date: Mon, 11 Jul 2016 23:22:56 +0200 Subject: Add port to BindAddress --- bridge/bridge.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bridge') 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 } -- cgit v1.2.3