rosejn/lua-util — pull request #11 by yulangie (2014-07-12 09:49:54+00:00)
Title: corrected function optional_t

Removed the line ' default = optional_s(default, nil) ' which is not doing anything (default always keeps its current value after this line, irrespective of being nil or not).
Corrected the second case ' elseif default ~= nil ... ' which would previously behave wrongly for boolean default value 'false'.