forked from lug/matterbridge
		
	Add ServerName to TLSConfig
This commit is contained in:
		| @@ -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, | ||||
| 	}) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Wim
					Wim