Fix port-less invocation
This commit is contained in:
@@ -47,7 +47,7 @@ func ircAdapter() hugot.Adapter {
|
||||
if config.SSL {
|
||||
hostname, _, err := net.SplitHostPort(config.Server)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
hostname = config.Server
|
||||
}
|
||||
config.SSLConfig = &tls.Config{
|
||||
ServerName: hostname,
|
||||
|
Reference in New Issue
Block a user