summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'bridge')
-rw-r--r--bridge/irc/irc.go2
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,
})