Diff

plugins/mod_bosh.lua @ 4623:403b56b78018

mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global()
author Kim Alvefur <zash@zash.se>
date Thu, 15 Mar 2012 14:47:46 +0100
parent 4457:332a5d73e5b6
child 4684:dc70c4ffb66d
line wrap: on
line diff
--- a/plugins/mod_bosh.lua	Thu Mar 15 03:19:35 2012 +0000
+++ b/plugins/mod_bosh.lua	Thu Mar 15 14:47:46 2012 +0100
@@ -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;