diff --git a/main.go b/main.go index f44ae10..841427e 100755 --- a/main.go +++ b/main.go @@ -196,10 +196,12 @@ func main() { Database: *persistentData, Config: config, } - myBot.Start() } go func() { rgb.YPrintf("[%s] Starting webserver on port %s\n", irc.TimeStamp(), "5353") webserver.HandleHTTP(&myBot) }() + if ircOauthPath != "" { + myBot.Start() + } }