mod_component: Fix name of config option in error message (thanks nulani!)

vault/0.11
Matthew Wild 16 years ago
parent 040ff64c5f
commit 237f683563
  1. 2
      plugins/mod_component.lua

@ -44,7 +44,7 @@ function handle_component_auth(session, stanza)
local secret = config.get(session.user, "core", "component_secret");
if not secret then
(session.log or log)("warn", "Component attempted to identify as %s, but component_password is not set", session.user);
(session.log or log)("warn", "Component attempted to identify as %s, but component_secret is not set", session.user);
session:close("not-authorized");
return;
end

Loading…
Cancel
Save