aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-08-07 17:01:07 +0200
committerKim Alvefur <zash@zash.se>2012-08-07 17:01:07 +0200
commitec30ac5f17a930796e5c829637c7f57e8727e922 (patch)
treeed82855e76c2e5a55b68423bef12dba58c1d64d8
parent715867da8ab2fc1793d33bc198303af8ada0a14a (diff)
downloadprosody-ec30ac5f17a930796e5c829637c7f57e8727e922.tar.gz
prosody-ec30ac5f17a930796e5c829637c7f57e8727e922.zip
mod_legacyauth: Remove unused variable
-rw-r--r--plugins/mod_legacyauth.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_legacyauth.lua b/plugins/mod_legacyauth.lua
index 7a3038bc..dcb652a0 100644
--- a/plugins/mod_legacyauth.lua
+++ b/plugins/mod_legacyauth.lua
@@ -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 = nodeprep(username);
resource = resourceprep(resource)
- local reply = st.reply(stanza);
if not (username and resource) then
session.send(st.error_reply(stanza, "modify", "bad-request"));
return true;