]> hydra-www.ietfng.org Git - acmetensortoys-esp-lua_lamp/commit
lamp-remote: tonumber after checking regex result
authorNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Sat, 26 Aug 2017 23:03:37 +0000 (19:03 -0400)
committerNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Sat, 26 Aug 2017 23:03:37 +0000 (19:03 -0400)
commit7ff14cc06d05e09312acac9526537d708d6bd0eb
tree322f5132056d2c6c966ed9f51975ef47e7566f65
parenta5628be3ca0e68edb9258b5f8f793a2c9968681c
lamp-remote: tonumber after checking regex result

Otherwise, r/g/b might be nil and tonumber(nil) doesn't work out well
lamp-remote.lua