summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.go b/config.go
index 04caaf0..6f7d6b5 100644
--- a/config.go
+++ b/config.go
@@ -30,4 +30,8 @@ func checkConfig() {
if check == "" {
log.Fatal("Env WEB2IRC_IRC_SERVER_PORT not found.")
}
+ check = os.Getenv("WEB2IRC_IRC_JOIN")
+ if check == "" {
+ log.Println("Env WEB2IRC_JOIN not found. We will not join on start up.")
+ }
}