Changeset

3302:4d21ce9c0eb7

mod_register: Remove the offline store as a list (originally aa3725bbcde5 but missed in a merge)
author Matthew Wild <mwild1@gmail.com>
date Tue, 29 Jun 2010 20:21:17 +0100
parents 3301:772fb30b28fb
children 3305:b1ee8d390744
files plugins/mod_register.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_register.lua	Tue Jun 29 20:17:21 2010 +0100
+++ b/plugins/mod_register.lua	Tue Jun 29 20:21:17 2010 +0100
@@ -46,7 +46,7 @@
 				-- TODO datamanager should be able to delete all user data itself
 				datamanager.store(username, host, "vcard", nil);
 				datamanager.store(username, host, "private", nil);
-				datamanager.store(username, host, "offline", nil);
+				datamanager.list_store(username, host, "offline", nil);
 				local bare = username.."@"..host;
 				for jid, item in pairs(roster) do
 					if jid and jid ~= "pending" then