From 75e5a237f2d879693828df85c9489be3a98c177b Mon Sep 17 00:00:00 2001 From: theFox6 Date: Sat, 14 Oct 2023 22:01:35 +0200 Subject: [PATCH] add migration for old networks --- modules/network/security.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/network/security.lua b/modules/network/security.lua index b980eab..850acd6 100644 --- a/modules/network/security.lua +++ b/modules/network/security.lua @@ -203,6 +203,8 @@ microexpansion.register_node("security", { if fields.logout then meta:set_string("formspec", security_formspec(pos)) elseif fields.login or fields.back then + -- carry over networks from old versions + net:fallback_access() meta:set_string("formspec", security_formspec(pos, name)) elseif fields.search or fields.key_enter_field == "filter" then meta:set_string("formspec", security_formspec(pos, name), false, fields.filter)