Navigation menu

Module:Yesno: Difference between revisions

From The Kodiak Republic Wiki

fix logic for the case where the first positional parameter is "¬"
(tweak logic to make it work like the actual template - the documentation was slightly wrong)
(fix logic for the case where the first positional parameter is "¬")
Line 30:
val = args[1]
 
-- First deal with the case if val is nil or "¬", then deal with other cases.
if val == nil or val == '¬' then
return retvals['¬']
end
Cookies help us deliver our services. By using our services, you agree to our use of cookies.