mod_legacyauth: Remove unused variable

This commit is contained in:
Kim Alvefur 2012-08-07 17:01:07 +02:00
parent ba9418cd02
commit 9735264a8d

View file

@ -57,7 +57,6 @@ module:hook("stanza/iq/jabber:iq:auth:query", function(event)
username, password, resource = t_concat(username), t_concat(password), t_concat(resource); username, password, resource = t_concat(username), t_concat(password), t_concat(resource);
username = nodeprep(username); username = nodeprep(username);
resource = resourceprep(resource) resource = resourceprep(resource)
local reply = st.reply(stanza);
if not (username and resource) then if not (username and resource) then
session.send(st.error_reply(stanza, "modify", "bad-request")); session.send(st.error_reply(stanza, "modify", "bad-request"));
return true; return true;