changeset 55:aaad98b33f86

Fix syntax errors.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 01 Feb 2012 04:13:42 +0100
parents 0b7dd59e264a
children 1d4b844586f6
files lightstring.js plugins/disco.js
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lightstring.js
+++ b/lightstring.js
@@ -38,7 +38,7 @@ var Lightstring = {
         //FIXME no ending "/" - node-xmpp-bosh bug
         return "<stream:stream to='" + aService + "'" +
                              " xmlns='" + Lightstring.ns['jabber_client'] + "'" +
-                             " xmlns:stream='" + Lightstring.ns.['streams'] + "'" +
+                             " xmlns:stream='" + Lightstring.ns['streams'] + "'" +
                              " version='1.0'/>";
       },
       close: function() {
--- a/plugins/disco.js
+++ b/plugins/disco.js
@@ -25,7 +25,7 @@ Lightstring.plugins['disco'] = {
     'disco#items': "http://jabber.org/protocol/disco#items"
   },
   stanzas: {
-    'disco#info': function(aTo, aNode) {
+    'disco#items': function(aTo, aNode) {
       if(aTo)
         var iq = "<iq type='get' to='"+aTo+"'>";
       else