aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-11-13 04:12:03 +0000
committerMatthew Wild <mwild1@gmail.com>2010-11-13 04:12:03 +0000
commit79e901ace54c31d646e5056a60ae57970f13f7f3 (patch)
tree5c4c33bab35e5be0e00b7a84ea5335ca9e58bba6 /plugins
parent9d08cacdc7a15399eda029b050a3d5cc2d9ab773 (diff)
downloadprosody-79e901ace54c31d646e5056a60ae57970f13f7f3.tar.gz
prosody-79e901ace54c31d646e5056a60ae57970f13f7f3.zip
mod_pubsub: Use module.environment to reference the module's environment
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pubsub.lua2
1 files changed, 1 insertions, 1 deletions
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;