Changeset

3622:418354197a02

mod_pubsub: Use module.environment to reference the module's environment
author Matthew Wild <mwild1@gmail.com>
date Sat, 13 Nov 2010 04:12:03 +0000
parents 3621:7e1a1dd42088
children 3624:e2cfc6b8fe5d
files plugins/mod_pubsub.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pubsub.lua	Sat Nov 13 04:10:05 2010 +0000
+++ b/plugins/mod_pubsub.lua	Sat Nov 13 04:12:03 2010 +0000
@@ -92,5 +92,5 @@
 service = pubsub.new({
 	broadcaster = simple_broadcast
 });
-_M.service = service;
+module.environment.service = service;