Skip to content

Commit

Permalink
mod_adhoc_cm: correct silly traceback.
Browse files Browse the repository at this point in the history
  • Loading branch information
maranda committed Oct 17, 2018
1 parent 997da4d commit 8c5105d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/mod_adhoc_cm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ local function list_certs(self, data, state, secure)
return save_failed;
end
else
local store = certificates:set(jid_section(data.from, "node"));
local store = certificates:get(jid_section(data.from, "node"));
if not store then
return { status = "complete", error = { message = "You have no certificates" } };
else
Expand Down

0 comments on commit 8c5105d

Please sign in to comment.