Changeset

6793:2bf1b7e2149a

mod_websocket: Import sessionmanager (fixes traceback)
author Kim Alvefur <zash@zash.se>
date Fri, 21 Aug 2015 11:26:34 +0200
parents 6790:e2cd5848c650
children 6794:e3c51bf7861b 6795:c4ee38d78594
files plugins/mod_websocket.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_websocket.lua	Thu Aug 20 10:10:36 2015 +0200
+++ b/plugins/mod_websocket.lua	Fri Aug 21 11:26:34 2015 +0200
@@ -13,7 +13,7 @@
 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";