aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit9e3ba79ab8176d415396150e96f73f2d48691b09 (patch)
treee2ce83aba20aa5f09dced9feac7bc341742ede5b /plugins
parent97e3f3710148a52d9f8ae9815b6cd94ac3a66fbe (diff)
downloadprosody-9e3ba79ab8176d415396150e96f73f2d48691b09.tar.gz
prosody-9e3ba79ab8176d415396150e96f73f2d48691b09.zip
mod_carbons: Get full_ and bare_sessions from the prosody global [luacheck]
Diffstat (limited to 'plugins')
-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;