Skip to content
This repository has been archived by the owner on Dec 23, 2019. It is now read-only.

Commit

Permalink
Fixed a bug in sflib.lua, where Sanitize would all ways return what t…
Browse files Browse the repository at this point in the history
…he first call to it passed.

(cherry picked from commit 1af7fd2)
  • Loading branch information
daranable authored and ColonelThirtyTwo committed Apr 15, 2012
1 parent 4da26f0 commit 10cca28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/starfall/sflib.lua
Expand Up @@ -220,7 +220,7 @@ local safe_types = {
function SF.Sanitize( ... )
-- Sanitize ALL the things.
local return_list = {}
if not args then args = {...} end
local args = {...}

for key, value in pairs(args) do
local typ = type( value )
Expand Down

0 comments on commit 10cca28

Please sign in to comment.