diff options
author | onefang | 2020-03-17 12:41:47 +1000 |
---|---|---|
committer | onefang | 2020-03-17 12:41:47 +1000 |
commit | 7c11a87766b08b7d3b3856225e54277dfe51f8d4 (patch) | |
tree | 0e9a006e15c22135c814e5d9b9a4d7f03a4b3da2 /src/sledjchisl | |
parent | TODO++ (diff) | |
download | opensim-SC-7c11a87766b08b7d3b3856225e54277dfe51f8d4.zip opensim-SC-7c11a87766b08b7d3b3856225e54277dfe51f8d4.tar.gz opensim-SC-7c11a87766b08b7d3b3856225e54277dfe51f8d4.tar.bz2 opensim-SC-7c11a87766b08b7d3b3856225e54277dfe51f8d4.tar.xz |
Add a ToS block.
Diffstat (limited to 'src/sledjchisl')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 6ec3b98..a895c51 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -462,6 +462,7 @@ char *Ttab = "SC"; | |||
462 | char *Tcmd = "tmux -S"; | 462 | char *Tcmd = "tmux -S"; |
463 | char *webRoot = "/opt/opensim_SC/web"; | 463 | char *webRoot = "/opt/opensim_SC/web"; |
464 | char *URL = "fcgi-bin/sledjchisl.fcgi"; | 464 | char *URL = "fcgi-bin/sledjchisl.fcgi"; |
465 | char *ToS = "Be good."; | ||
465 | int seshTimeOut = 30 * 60; | 466 | int seshTimeOut = 30 * 60; |
466 | int idleTimeOut = 24 * 60 * 60; | 467 | int idleTimeOut = 24 * 60 * 60; |
467 | int newbieTimeOut = 30; | 468 | int newbieTimeOut = 30; |
@@ -4454,6 +4455,7 @@ jit library is loaded or the JIT compiler will not be activated. | |||
4454 | if ((vd = configs->get (configs, "seshTimeOut", NULL, false)) != NULL) {seshTimeOut = (int) *((float *) vd); D("Setting seshTimeOut = %d", seshTimeOut);} | 4455 | if ((vd = configs->get (configs, "seshTimeOut", NULL, false)) != NULL) {seshTimeOut = (int) *((float *) vd); D("Setting seshTimeOut = %d", seshTimeOut);} |
4455 | if ((vd = configs->get (configs, "idleTimeOut", NULL, false)) != NULL) {idleTimeOut = (int) *((float *) vd); D("Setting idleTimeOut = %d", idleTimeOut);} | 4456 | if ((vd = configs->get (configs, "idleTimeOut", NULL, false)) != NULL) {idleTimeOut = (int) *((float *) vd); D("Setting idleTimeOut = %d", idleTimeOut);} |
4456 | if ((vd = configs->get (configs, "newbieTimeOut", NULL, false)) != NULL) {newbieTimeOut = (int) *((float *) vd); D("Setting newbieTimeOut = %d", newbieTimeOut);} | 4457 | if ((vd = configs->get (configs, "newbieTimeOut", NULL, false)) != NULL) {newbieTimeOut = (int) *((float *) vd); D("Setting newbieTimeOut = %d", newbieTimeOut);} |
4458 | if ((tmp = configs->getstr(configs, "ToS", false)) != NULL) {ToS = tmp; D("Setting ToS = %s", ToS);} | ||
4457 | 4459 | ||
4458 | 4460 | ||
4459 | if (isTmux || isWeb) | 4461 | if (isTmux || isWeb) |