mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Keep a local function local
This commit is contained in:
@@ -74,7 +74,7 @@ local ELEMENTS = {["Type"] = "Type",
|
|||||||
["string"] = "SOAPACTIONS",
|
["string"] = "SOAPACTIONS",
|
||||||
["SubDeviceURLs"] = "Sub Device URLs"}
|
["SubDeviceURLs"] = "Sub Device URLs"}
|
||||||
|
|
||||||
function get_text_callback(store, name)
|
local function get_text_callback(store, name)
|
||||||
if ELEMENTS[name] == nil then return end
|
if ELEMENTS[name] == nil then return end
|
||||||
name = ELEMENTS[name]
|
name = ELEMENTS[name]
|
||||||
if name == 'SOAPACTIONS' or name == 'Sub Device URLs' or name == 'Type' then
|
if name == 'SOAPACTIONS' or name == 'Sub Device URLs' or name == 'Type' then
|
||||||
|
|||||||
Reference in New Issue
Block a user