summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 242e364..59775b7 100644
--- a/main.go
+++ b/main.go
@@ -34,6 +34,7 @@ func main() {
ip := os.Getenv("WEB2IRC_HTTP_IP")
port := os.Getenv("WEB2IRC_HTTP_PORT")
+ go Shutdown()
log.Println("Listening on " + ip + ":" + port)
http.ListenAndServe(ip+":"+port, nil)
}