diff --git a/main.go b/main.go index f660b6f..4846e6b 100644 --- a/main.go +++ b/main.go @@ -71,8 +71,6 @@ func main() { server.motd = string(data[:size]) } - go server.Run() - tlsConfig := new(tls.Config) tlsConfig.PreferServerCipherSuites = true @@ -105,6 +103,8 @@ func main() { return } + go server.Run() + log.Printf("Listening on %s", *ircAddress) for {