projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2dc5c33
)
mod_pubsub: Use module.environment to reference the module's environment
author
Matthew Wild
<mwild1@gmail.com>
Sat, 13 Nov 2010 04:12:03 +0000
(
04:12
+0000)
committer
Matthew Wild
<mwild1@gmail.com>
Sat, 13 Nov 2010 04:12:03 +0000
(
04:12
+0000)
plugins/mod_pubsub.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_pubsub.lua
b/plugins/mod_pubsub.lua
index 655220bdb2ea25c1cc81a844a91d57176a88c7a9..cb0eff7a0f6809275dd662be883ba4a5cfb183f9 100644
(file)
--- 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;