• antirez's avatar
    Scripting: Fix for a #1118 regression simplified. · 0f4b925d
    antirez authored
    It is more straightforward to just test for a numerical type avoiding
    Lua's automatic conversion. The code is technically more correct now,
    however Lua should automatically convert to number only if the original
    type is a string that "looks like a number", and not from other types,
    so practically speaking the fix is identical AFAIK.
    0f4b925d
scripting.c 40.6 KB