Software /
code /
verse
Changeset
265:2a2326a8f9e8
plugins.pubsub: Fix to use correct method in backwards-compatibility code
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 11 Dec 2011 02:26:55 +0000 |
parents | 264:ffb27e62a11e |
children | 266:ad8a918fa6e6 |
files | plugins/pubsub.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/pubsub.lua Sat Dec 10 15:45:55 2011 +0100 +++ b/plugins/pubsub.lua Sun Dec 11 02:26:55 2011 +0000 @@ -33,15 +33,15 @@ -- COMPAT function pubsub:create(server, node, callback) - return self:server(server):node(node):create(nil, callback); + return self:service(server):node(node):create(nil, callback); end function pubsub:subscribe(server, node, jid, callback) - return self:server(server):node(node):subscribe(jid, nil, callback); + return self:service(server):node(node):subscribe(jid, nil, callback); end function pubsub:publish(server, node, id, item, callback) - return self:server(server):node(node):publish(id, nil, item, callback); + return self:service(server):node(node):publish(id, nil, item, callback); end --------------------------------------------------------------------------