aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-12-28 09:59:27 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-12-28 09:59:27 +0500
commitfe3b3691b23c075544038b5264be414eb1918509 (patch)
treec23a71fc8becc93a4c50c7998b605e90c7242d71 /prosody
parentff637cb817532aeea0272d3eecce1b469d8a8d3c (diff)
downloadprosody-fe3b3691b23c075544038b5264be414eb1918509.tar.gz
prosody-fe3b3691b23c075544038b5264be414eb1918509.zip
prosody: Don't add a datamanager callback when anonymous_login=true (mod_auth_anonymous does this now).
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody6
1 files changed, 0 insertions, 6 deletions
diff --git a/prosody b/prosody
index 07ec2bdb..7c819214 100755
--- a/prosody
+++ b/prosody
@@ -334,12 +334,6 @@ end
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