Merge with backout
authorMatthew Wild <mwild1@gmail.com>
Sun, 08 Jul 2012 18:48:28 +0100
changeset 4948 2c1de519f639
parent 4946 2975c7008ccd (current diff)
parent 4947 6d9317ea79b2 (diff)
child 4949 521976cb56e6
child 4950 02e5e9fa37b8
Merge with backout
--- a/plugins/mod_auth_anonymous.lua	Sun Jul 08 18:47:05 2012 +0100
+++ b/plugins/mod_auth_anonymous.lua	Sun Jul 08 18:48:28 2012 +0100
@@ -32,10 +32,9 @@
 		return nil, "Account creation/modification not supported.";
 	end
 
-	function provider.get_sasl_handler(session)
+	function provider.get_sasl_handler()
 		local anonymous_authentication_profile = {
 			anonymous = function(sasl, username, realm)
-				session.roster = {}; -- so that the null storage backend doesn't upset rostermanager
 				return true; -- for normal usage you should always return true here
 			end
 		};