diff plugins/pubsub.js @ 74:7cb0037bf43c

Fix a little typo error.
author Sonny Piers <sonny.piers@gmail.com>
date Mon, 06 Feb 2012 17:36:39 +0100
parents d1ba6f0e2a92
children 619f3ffa125a
line wrap: on
line diff
--- a/plugins/pubsub.js
+++ b/plugins/pubsub.js
@@ -108,7 +108,7 @@
       retract: function(aTo, aNode, aItem, aResult, aError) {
         this.send(Lightstring.stanza.pubsub.retract(aTo, aNode, aItem), aResult, aError);
       },
-      publish = function(aTo, aNode, aItem, aId, aResult, aError) {
+      publish: function(aTo, aNode, aItem, aId, aResult, aError) {
         this.send(Lightstring.stanza.pubsub.publish(aTo, aNode, aItem, aId), aResult, aError);
       },
       'delete': function(aTo, aNode, aResult, aError) {