aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-08-27 12:17:12 +0200
committerKim Alvefur <zash@zash.se>2015-08-27 12:17:12 +0200
commite92f6bc9c1a8911a7385356983a21b576e19b3e0 (patch)
treee2ce83aba20aa5f09dced9feac7bc341742ede5b
parent44a083cf43f17a5e49a274786c7550fdd1efce77 (diff)
downloadprosody-e92f6bc9c1a8911a7385356983a21b576e19b3e0.tar.gz
prosody-e92f6bc9c1a8911a7385356983a21b576e19b3e0.zip
mod_carbons: Get full_ and bare_sessions from the prosody global [luacheck]
-rw-r--r--plugins/mod_carbons.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_carbons.lua b/plugins/mod_carbons.lua
index dc5c05e0..9b94d58d 100644
--- a/plugins/mod_carbons.lua
+++ b/plugins/mod_carbons.lua
@@ -7,7 +7,7 @@ local st = require "util.stanza";
local jid_bare = require "util.jid".bare;
local xmlns_carbons = "urn:xmpp:carbons:2";
local xmlns_forward = "urn:xmpp:forward:0";
-local full_sessions, bare_sessions = full_sessions, bare_sessions;
+local full_sessions, bare_sessions = prosody.full_sessions, prosody.bare_sessions;
local function toggle_carbons(event)
local origin, stanza = event.origin, event.stanza;