diff --git a/src/raw/pkg_server/server.lsl b/src/raw/pkg_server/server.lsl index 5079b7f..daceb1c 100644 --- a/src/raw/pkg_server/server.lsl +++ b/src/raw/pkg_server/server.lsl @@ -30,7 +30,7 @@ default llWhisper(0, m); if(llJsonGetValue(m, ["op"]) == "check_package_servers") { - llRegionSayTo(i,c,BuildPacket("package_server_reply", ["server", g_sServerName])); + llRegionSayTo(i,c,BuildPacket("package_server_reply", ["server", g_sServerName, "owner", llGetOwner()])); }else if(llJsonGetValue(m,["op"]) == "connect") { // This is always going to be successful in reality, so what we do is we send back all package names diff --git a/src/raw/updater/updater.lsl b/src/raw/updater/updater.lsl index 7a7de27..69ac6c7 100644 --- a/src/raw/updater/updater.lsl +++ b/src/raw/updater/updater.lsl @@ -39,10 +39,10 @@ default if(iChange & CHANGED_INVENTORY) { // Reset ourselves if not update in progress - if(g_iClientPin != 0){ + if(g_iClientPin != 0) { // We're in a update, scream at the object owner llOwnerSay("/!\\ FATAL /!\\\n \n[ You have changed my contents mid-update. There could be serious problems that arise now. You should repeat the update after this one ends if there are issues ]"); - }else + } else llResetScript(); } } @@ -55,7 +55,7 @@ default if(sOp == "checkupdate") { string sVer = llJsonGetValue(sMsg,["myversion"]); - integer iCompare = VersionNumberCompare(compileVersion(), sVer); + integer iCompare = VersionNumberCompare(VERSION, sVer); if(iCompare == 0) { llRegionSayTo(kID, UPDATER_CHANNEL, BuildPacket("same", []));