aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-28 00:45:33 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-28 00:45:33 +0100
commit568e94ab15866f79ca494e033954829732e75ed2 (patch)
tree4e1555fdb4e89b72f1862df04321d42651f8234a /plugins/mod_bosh.lua
parent97bead16ac519052bbcfb3792fbc547fe0c423cb (diff)
downloadprosody-568e94ab15866f79ca494e033954829732e75ed2.tar.gz
prosody-568e94ab15866f79ca494e033954829732e75ed2.zip
mod_bosh: Remove unused import of net.httpserver
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r--plugins/mod_bosh.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index 84adb369..1fe52dda 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -10,7 +10,6 @@ module:set_global(); -- Global module
local hosts = _G.hosts;
local new_xmpp_stream = require "util.xmppstream".new;
-local httpserver = require "net.httpserver";
local sm = require "core.sessionmanager";
local sm_destroy_session = sm.destroy_session;
local new_uuid = require "util.uuid".generate;
@@ -181,7 +180,7 @@ function handle_POST(event)
session:close();
return nil;
else
- return true; -- Inform httpserver we shall reply later
+ return true; -- Inform http server we shall reply later
end
end
end