aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-08-21 11:26:34 +0200
committerKim Alvefur <zash@zash.se>2015-08-21 11:26:34 +0200
commit64813924883b2efa273a698aae32e602baa5028b (patch)
tree66062a3bd36d76fb331d27ed57ccfca28a2068b0
parentd32f36b2817739d7f8d5f1208a3009b7be379562 (diff)
downloadprosody-64813924883b2efa273a698aae32e602baa5028b.tar.gz
prosody-64813924883b2efa273a698aae32e602baa5028b.zip
mod_websocket: Import sessionmanager (fixes traceback)
-rw-r--r--plugins/mod_websocket.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_websocket.lua b/plugins/mod_websocket.lua
index 313dbd41..d3252980 100644
--- a/plugins/mod_websocket.lua
+++ b/plugins/mod_websocket.lua
@@ -13,7 +13,7 @@ local base64 = require "util.encodings".base64.encode;
local st = require "util.stanza";
local parse_xml = require "util.xml".parse;
local portmanager = require "core.portmanager";
-local sm_destroy_session = sessionmanager.destroy_session;
+local sm_destroy_session = require"core.sessionmanager".destroy_session;
local log = module._log;
local websocket_frames = require"net.websocket.frames";