Sun, 30 May 2010 02:13:05 +0100
clix.lua: Only set config key on valid lines
clix.lua | file | annotate | diff | comparison | revisions |
--- a/clix.lua Sat May 29 21:13:27 2010 +0100 +++ b/clix.lua Sun May 30 02:13:05 2010 +0100 @@ -46,7 +46,9 @@ end elseif current_account then local k,v = line:match("^(%w+)%s*[:=]%s*(.+)$"); - accounts[current_account or "default"][k] = v; + if k then + accounts[current_account or "default"][k] = v; + end end end