Sfoglia il codice sorgente

wrong is ee check fix for nodes

0xdcarns 3 anni fa
parent
commit
4d485f6512
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      servercfg/serverconf.go

+ 1 - 1
servercfg/serverconf.go

@@ -106,7 +106,7 @@ func GetServerInfo() models.ServerConfig {
 	}
 	cfg.Version = GetVersion()
 	cfg.Server = GetServer()
-	cfg.Is_EE = GetServerConfig().IsEE == "yes"
+	cfg.Is_EE = Is_EE
 
 	return cfg
 }