Diff

plugins/mod_register.lua @ 3301:772fb30b28fb

Merge 0.7->trunk
author Matthew Wild <mwild1@gmail.com>
date Tue, 29 Jun 2010 20:17:21 +0100
parent 3164:db9def53fe9c
parent 3297:aa3725bbcde5
child 3302:4d21ce9c0eb7
line wrap: on
line diff
--- a/plugins/mod_register.lua	Tue Jun 29 19:18:07 2010 +0100
+++ b/plugins/mod_register.lua	Tue Jun 29 20:17:21 2010 +0100
@@ -59,6 +59,7 @@
 					end
 				end
 				datamanager.store(username, host, "roster", nil);
+				datamanager.store(username, host, "privacy", nil);
 				datamanager.store(username, host, "accounts", nil); -- delete accounts datastore at the end
 				module:log("info", "User removed their account: %s@%s", username, host);
 				module:fire_event("user-deregistered", { username = username, host = host, source = "mod_register", session = session });