aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-02-23 01:14:23 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-02-23 01:14:23 +0500
commite2908c06e1c8340db7c424c7ef158c2b5674c460 (patch)
tree93d1e4bd249bb287bf007c6ee25fa26285ddc57f
parent4c2d9d14bc190e9c17d51a1eae47cf9a7a34b861 (diff)
downloadprosody-e2908c06e1c8340db7c424c7ef158c2b5674c460.tar.gz
prosody-e2908c06e1c8340db7c424c7ef158c2b5674c460.zip
mod_register: Fixed an error happening during account deletion
-rw-r--r--plugins/mod_register.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_register.lua b/plugins/mod_register.lua
index ba5bcf36..c1487228 100644
--- a/plugins/mod_register.lua
+++ b/plugins/mod_register.lua
@@ -44,7 +44,7 @@ module:add_iq_handler("c2s", "jabber:iq:register", function (session, stanza)
datamanager.store(session.username, session.host, "vcard", nil);
datamanager.store(session.username, session.host, "private", nil);
datamanager.store(session.username, session.host, "offline", nil);
- local bare = session.username.."@"..session.host;
+ --local bare = session.username.."@"..session.host;
for jid, item in pairs(roster) do
if jid ~= "pending" then
if item.subscription == "both" or item.subscription == "to" then