From 8064b74a5ad4cbd44b2c26a235b4985ab9ed27bd Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 6 Aug 2021 06:00:55 +1000 Subject: Obsolete comments-- --- src/sledjchisl/sledjchisl.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index d2be221..c068d57 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -1160,7 +1160,7 @@ static int filterInis(struct dirtree *node) // Get the details from all the .ini or .shini sim files. // Creates the .shini and sims.lua files if it's an old install. -// TODO - read the .shini and sims.lua if they exist. +// TODO - read the .shini and if it exists. /* ourSims shall be - int len, num; @@ -1250,16 +1250,6 @@ simList *getSims() newPath = xmprintf("%s/%s.shini", scEtc, name); d("Reading .ini file %s", path); ini = qconfig_parse_file(NULL, path, '='); - -/* - [Region] - Location = "1,1" - InternalPort = "9008" - MaxPrims = 45000 - - [Network] - http_listener_port = 9007 -*/ simd->name = qstrunchar(ini->getstr(ini, "Region.RegionName", true), '"', '"'); simd->UUID = qstrunchar(ini->getstr(ini, "Region.RegionUUID", true), '"', '"'); simd->regionType = qstrunchar(ini->getstr(ini, "Region.RegionType", true), '"', '"'); @@ -8084,7 +8074,7 @@ fcgiDone: switch (currentMode) { case START : // "start sim01" "start 'Welcome sim'" "start Welcome.ini" "start Welcome" "start" start everything - { // TODO - check if sim is down, but tmux window is still up, and close the tmux window first. + { if (!checkSimIsRunning(simd->tab)) { I("Tmux tab [%d:%s](pane %d) tmux ID %s, from %s/sim%d - %s is starting.", window, type, pane, simd->paneID, scTemp, count, simd->name); -- cgit v1.1