Replace type check with nil check

This commit is contained in:
Lignum 2017-05-16 21:53:50 +02:00
parent eb9b7f3b8c
commit 00943163c8
No known key found for this signature in database
GPG Key ID: E4DE8F54CA0912BA
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ if settings.get( "shell.allow_disk_startup" ) then
end
end
end
if type( tUserStartups ) == "table" then
if tUserStartups then
for _,v in pairs( tUserStartups ) do
shell.run( v )
end