From 7c11a87766b08b7d3b3856225e54277dfe51f8d4 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 17 Mar 2020 12:41:47 +1000 Subject: Add a ToS block. --- src/sledjchisl/sledjchisl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sledjchisl') 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"; char *Tcmd = "tmux -S"; char *webRoot = "/opt/opensim_SC/web"; char *URL = "fcgi-bin/sledjchisl.fcgi"; +char *ToS = "Be good."; int seshTimeOut = 30 * 60; int idleTimeOut = 24 * 60 * 60; int newbieTimeOut = 30; @@ -4454,6 +4455,7 @@ jit library is loaded or the JIT compiler will not be activated. if ((vd = configs->get (configs, "seshTimeOut", NULL, false)) != NULL) {seshTimeOut = (int) *((float *) vd); D("Setting seshTimeOut = %d", seshTimeOut);} if ((vd = configs->get (configs, "idleTimeOut", NULL, false)) != NULL) {idleTimeOut = (int) *((float *) vd); D("Setting idleTimeOut = %d", idleTimeOut);} if ((vd = configs->get (configs, "newbieTimeOut", NULL, false)) != NULL) {newbieTimeOut = (int) *((float *) vd); D("Setting newbieTimeOut = %d", newbieTimeOut);} + if ((tmp = configs->getstr(configs, "ToS", false)) != NULL) {ToS = tmp; D("Setting ToS = %s", ToS);} if (isTmux || isWeb) -- cgit v1.1