return from update_cookies if table is nil

This commit is contained in:
abhishek singh 2016-07-17 21:48:48 +05:30
parent 4cd0b65a8d
commit adfd05f03c

View file

@ -316,7 +316,7 @@ end
-- TODO: expire cookies
local function update_cookies (old, new)
if not old then
old = {}
return
end
for i, c in ipairs(new) do
local add = true