diff options
author | Wim <wim@42.be> | 2017-10-21 00:42:01 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2017-11-08 22:55:37 +0100 |
commit | 307ff77b4266949d4f0794b16b48a30110b25239 (patch) | |
tree | 33a2be456b4d5a2cea83e24919fed100aa8fb6c2 | |
parent | 9b500bc5f7649c5c082451edd8fd5494f4c4a40c (diff) | |
download | matterbridge-msglm-307ff77b4266949d4f0794b16b48a30110b25239.tar.gz matterbridge-msglm-307ff77b4266949d4f0794b16b48a30110b25239.tar.bz2 matterbridge-msglm-307ff77b4266949d4f0794b16b48a30110b25239.zip |
Add ServerName to TLSConfig
-rw-r--r-- | bridge/irc/irc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index 9109e284..205e4ce4 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -89,7 +89,7 @@ func (b *Birc) Connect() error { User: b.Config.Nick, Name: b.Config.Nick, SSL: b.Config.UseTLS, - TLSConfig: &tls.Config{InsecureSkipVerify: b.Config.SkipTLSVerify}, + TLSConfig: &tls.Config{InsecureSkipVerify: b.Config.SkipTLSVerify, ServerName: server}, PingDelay: time.Minute, }) |