# HG changeset patch # User Waqas Hussain # Date 1293512367 -18000 # Node ID 3d0f54f3906abf78e43f2b9576bac72959cb0826 # Parent 1b9e691d2f478d90c1a6117151810b76969603a0 prosody: Don't add a datamanager callback when anonymous_login=true (mod_auth_anonymous does this now). diff -r 1b9e691d2f47 -r 3d0f54f3906a prosody --- a/prosody Tue Dec 28 09:58:40 2010 +0500 +++ b/prosody Tue Dec 28 09:59:27 2010 +0500 @@ -334,12 +334,6 @@ function init_data_store() local data_path = config.get("*", "core", "data_path") or CFG_DATADIR or "data"; require "util.datamanager".set_data_path(data_path); - require "util.datamanager".add_callback(function(username, host, datastore, data) - if config.get(host, "core", "anonymous_login") then - return false; - end - return username, host, datastore, data; - end); require "core.storagemanager"; end