comparison plugins/disco.js @ 55:aaad98b33f86

Fix syntax errors.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 01 Feb 2012 04:13:42 +0100
parents 063e31247e71
children bcb5b7c2c3d3
comparison
equal deleted inserted replaced
54:0b7dd59e264a 55:aaad98b33f86
23 namespaces: { 23 namespaces: {
24 'disco#info': "http://jabber.org/protocol/disco#info", 24 'disco#info': "http://jabber.org/protocol/disco#info",
25 'disco#items': "http://jabber.org/protocol/disco#items" 25 'disco#items': "http://jabber.org/protocol/disco#items"
26 }, 26 },
27 stanzas: { 27 stanzas: {
28 'disco#info': function(aTo, aNode) { 28 'disco#items': function(aTo, aNode) {
29 if(aTo) 29 if(aTo)
30 var iq = "<iq type='get' to='"+aTo+"'>"; 30 var iq = "<iq type='get' to='"+aTo+"'>";
31 else 31 else
32 var iq = "<iq type='get'>"; 32 var iq = "<iq type='get'>";
33 33