From 79e901ace54c31d646e5056a60ae57970f13f7f3 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 13 Nov 2010 04:12:03 +0000 Subject: mod_pubsub: Use module.environment to reference the module's environment --- plugins/mod_pubsub.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua index 655220bd..cb0eff7a 100644 --- a/plugins/mod_pubsub.lua +++ b/plugins/mod_pubsub.lua @@ -92,5 +92,5 @@ module:hook("iq/host/http://jabber.org/protocol/pubsub:pubsub", handle_pubsub_iq service = pubsub.new({ broadcaster = simple_broadcast }); -_M.service = service; +module.environment.service = service; -- cgit v1.2.3