Used skipTLSConfig value.

This commit is contained in:
Patrick Connolly
2018-12-01 18:43:16 +08:00
parent 100088b7bd
commit 02e6ffcd4c

View File

@@ -132,7 +132,7 @@ func (b *Bslack) Connect() error {
b.mh = matterhook.New( b.mh = matterhook.New(
"", "",
matterhook.Config{ matterhook.Config{
InsecureSkipVerify: b.GetBool("SkipTLSVerify"), InsecureSkipVerify: b.GetBool(skipTLSConfig),
DisableServer: true, DisableServer: true,
}, },
) )