diff options
author | Kim Alvefur <zash@zash.se> | 2015-08-21 11:26:34 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-08-21 11:26:34 +0200 |
commit | ffb9f937a19f6041d24731ef49f7c281ecc2876d (patch) | |
tree | 66062a3bd36d76fb331d27ed57ccfca28a2068b0 /plugins/mod_websocket.lua | |
parent | c5e4af96d8bd9de7a96d3dc1eff5b8d1eecbfdaf (diff) | |
download | prosody-ffb9f937a19f6041d24731ef49f7c281ecc2876d.tar.gz prosody-ffb9f937a19f6041d24731ef49f7c281ecc2876d.zip |
mod_websocket: Import sessionmanager (fixes traceback)
Diffstat (limited to 'plugins/mod_websocket.lua')
-rw-r--r-- | plugins/mod_websocket.lua | 2 |
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"; |