mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-15 08:29:25 +01:00
Add ServerName to TLSConfig
This commit is contained in:
parent
9b500bc5f7
commit
307ff77b42
@ -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,
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user