• A
    Scripting: Fix for a #1118 regression simplified. · a3b0dbcc
    antirez 提交于
    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.
    a3b0dbcc
scripting.c 40.6 KB