Permalink
Browse files

bugfix: return proper value when user flag is set

  • Loading branch information...
fffonion committed Jan 25, 2018
1 parent 667911f commit 01846ef91dcba86dc08dbcdd15a5e3fadff327be
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/resty/shdict/server.lua
@@ -84,7 +84,7 @@ local function _do_cmd(self, cmd, args)
ret.err = result
break
end
if err then
if not result and err then
-- shdict API error
ret.err = err
elseif result ~= true then

0 comments on commit 01846ef

Please sign in to comment.