diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-04-08 15:05:16 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-04-08 15:05:16 +0100 |
commit | e021bc18eb0399a5042ba63dc676093f0c9ec4a0 (patch) | |
tree | 1b593804084acf9148f1016283a985ef04bd52c2 | |
parent | 0f2516b61786519755e9b63bedf279a4f1a1737c (diff) | |
parent | 2c3275e59ae13bae9f212989f21bc18755f968cf (diff) | |
download | prosody-e021bc18eb0399a5042ba63dc676093f0c9ec4a0.tar.gz prosody-e021bc18eb0399a5042ba63dc676093f0c9ec4a0.zip |
Merge 0.9->trunk
-rw-r--r-- | plugins/mod_pubsub.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua index 5ff3a029..8f078f54 100644 --- a/plugins/mod_pubsub.lua +++ b/plugins/mod_pubsub.lua @@ -22,6 +22,7 @@ function handle_pubsub_iq(event) local origin, stanza = event.origin, event.stanza; local pubsub = stanza.tags[1]; local action = pubsub.tags[1]; + if not action then return; end local handler = handlers[stanza.attr.type.."_"..action.name]; if handler then handler(origin, stanza, action); |