# HG changeset patch # User Matthew Wild # Date 1289621523 0 # Node ID 418354197a02d564316857dab4dc0fb926c12d6c # Parent 7e1a1dd420889b7e6562ea033364464e62929f67 mod_pubsub: Use module.environment to reference the module's environment diff -r 7e1a1dd42088 -r 418354197a02 plugins/mod_pubsub.lua --- 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;