IsNetworkingAllowed
This function was added in DSL 5
Description
Check if networking is allowed in the user's DSL config.
function IsNetworkingAllowed() --[[ ... ]] end
Parameters
None.
Return Values
allowed:boolean-trueif networking is enabled in the user's DSL config, otherwisefalse.
Example
if IsNetworkingAllowed() then
print('Networking is allowed in the DSL config.')
else
print('Networking is not allowed in the DSL config.')
end