Software /
code /
prosody
Diff
plugins/mod_websocket.lua @ 6793:2bf1b7e2149a
mod_websocket: Import sessionmanager (fixes traceback)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 21 Aug 2015 11:26:34 +0200 |
parent | 6397:6f75f8043936 |
child | 6893:861790282dda |
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";