From 3191ac9ab6ceb64a8b52d30e847d0aab91957362 Mon Sep 17 00:00:00 2001 From: Jonas Pinson Date: Wed, 8 May 2024 20:03:57 +0200 Subject: [PATCH] update code --- rogueserver.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rogueserver.go b/rogueserver.go index 4faa3fb..10ec5b9 100644 --- a/rogueserver.go +++ b/rogueserver.go @@ -33,15 +33,15 @@ func main() { // flag stuff debug := os.Getenv("debug") - proto := "tcp" - addr := "0.0.0.0:8001" + proto = "tcp" + addr = "0.0.0.0:8001" - dbuser := os.Getenv("dbuser") - dbpass := os.Getenv("dbpass") - dbproto := "tcp" - dbaddr := os.Getenv("dbaddr") - dbname := os.Getenv("dbname") + dbuser = os.Getenv("dbuser") + dbpass = os.Getenv("dbpass") + dbproto = "tcp" + dbaddr = os.Getenv("dbaddr") + dbname = os.Getenv("dbname") flag.Parse()