summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index 9502f0c..4efcc9c 100644
--- a/main.go
+++ b/main.go
@@ -3,6 +3,7 @@ package main
import (
"flag"
"github.com/gorilla/mux"
+ "github.com/kch42/simplechat/chat"
"log"
"math"
"net/http"
@@ -25,6 +26,7 @@ func main() {
}
PrepTemplates()
+ chat.InitRooms(*perroom)
r := mux.NewRouter()
r.HandleFunc("/", Home)