diff 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
line wrap: on
line diff
--- 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