Merge 0.9->0.10 (third time lucky)
[prosody.git] / core / rostermanager.lua
index 5266afb52679b5bbe7677df3180350de8bc847ce..8c7612b450fe697fe21b81f9400c004b39743c51 100644 (file)
@@ -15,7 +15,7 @@ local pairs = pairs;
 local tostring = tostring;
 
 local hosts = hosts;
-local bare_sessions = bare_sessions;
+local bare_sessions = prosody.bare_sessions;
 
 local datamanager = require "util.datamanager"
 local um_user_exists = require "core.usermanager".user_exists;