From ffb9f937a19f6041d24731ef49f7c281ecc2876d Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 21 Aug 2015 11:26:34 +0200 Subject: mod_websocket: Import sessionmanager (fixes traceback) --- plugins/mod_websocket.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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"; -- cgit v1.2.3