aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-03-15 14:47:46 +0100
committerKim Alvefur <zash@zash.se>2012-03-15 14:47:46 +0100
commitdf424cfe1207f0f95b0f155a1893efa697865c3d (patch)
tree02e6cc3a2c8b7d672dd7d6bfd32601eac435c59e /plugins/mod_bosh.lua
parent44ba3429460e5c9a3ba894fa6ed5c97eaeeb8dcf (diff)
downloadprosody-df424cfe1207f0f95b0f155a1893efa697865c3d.tar.gz
prosody-df424cfe1207f0f95b0f155a1893efa697865c3d.zip
mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global()
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r--plugins/mod_bosh.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index 9de27b4b..20a6fa1f 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -6,7 +6,7 @@
-- COPYING file in the source package for more information.
--
-module.host = "*" -- Global module
+module:set_global(); -- Global module
local hosts = _G.hosts;
local new_xmpp_stream = require "util.xmppstream".new;