From c0b121a64ced30e9e14818f7a9629077c56d8e6b Mon Sep 17 00:00:00 2001 From: loveshell <82163261@qq.com> Date: Tue, 23 Jun 2015 22:52:33 +0800 Subject: [PATCH] fix data is ni --- waf.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waf.lua b/waf.lua index a7caae0..6b1a23e 100644 --- a/waf.lua +++ b/waf.lua @@ -69,13 +69,13 @@ elseif PostCheck then return end for key, val in pairs(args) do - if type(val) == "table" or val == false then + if type(val) == "table" then data=table.concat(val, ", ") else data=val end if data and type(data) ~= "boolean" and body(data) then - return true + return true end end end