From e6492ae30237e2c32cbe43694bd078475ec5ae85 Mon Sep 17 00:00:00 2001 From: Anna Puddles <113144806+annapuddles@users.noreply.github.com> Date: Mon, 16 Dec 2024 06:31:48 -0500 Subject: [PATCH] Fix auto_reboot setting not being read from config notecard --- prim-dns.lsl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/prim-dns.lsl b/prim-dns.lsl index f81d731..b119326 100644 --- a/prim-dns.lsl +++ b/prim-dns.lsl @@ -1,4 +1,4 @@ -/* prim-dns v2.7.0 +/* prim-dns v2.7.1 * * The prim-dns server script is a modular SecondLife script that will request * a temporary URL and register that URL with a prim-dns web service instance @@ -13,7 +13,7 @@ /* CONFIGURATION */ /* The version of prim-dns. */ -string version = "2.7.0"; +string version = "2.7.1"; /* The name of the configuration notecard. */ string config_notecard = "prim-dns config"; @@ -183,6 +183,10 @@ change_setting(string setting, string value) { enable_chat_output = (integer) value; } + else if (setting == "auto_reboot") + { + auto_reboot = (integer) value; + } } /* JSON-RPC functions */