aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-05-09 11:13:18 +0200
committerKim Alvefur <zash@zash.se>2013-05-09 11:13:18 +0200
commit19340208a0bd3e615506783bbe7d9318a80b1020 (patch)
tree6ebabe3b7fdbc85dfee6bae922ecc2bf73f919fe /plugins/mod_pubsub.lua
parentc26f83f6c7cddcb6a66fb4a95188f8ae26978f75 (diff)
downloadprosody-19340208a0bd3e615506783bbe7d9318a80b1020.tar.gz
prosody-19340208a0bd3e615506783bbe7d9318a80b1020.zip
mod_pubsub: Remove nodeid check added in 989acb4ad1de that wasn't needed
Diffstat (limited to 'plugins/mod_pubsub.lua')
-rw-r--r--plugins/mod_pubsub.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua
index 22969ab5..926ed4f2 100644
--- a/plugins/mod_pubsub.lua
+++ b/plugins/mod_pubsub.lua
@@ -80,9 +80,6 @@ end
function handlers.get_subscriptions(origin, stanza, subscriptions)
local node = subscriptions.attr.node;
- if not node then
- return origin.send(pubsub_error_reply(stanza, "nodeid-required"));
- end
local ok, ret = service:get_subscriptions(node, stanza.attr.from, stanza.attr.from);
if not ok then
return origin.send(pubsub_error_reply(stanza, ret));