]> granicus.if.org Git - ejabberd/commitdiff
fix typo
authorChristophe Romain <christophe.romain@process-one.net>
Fri, 10 Oct 2008 20:27:18 +0000 (20:27 +0000)
committerChristophe Romain <christophe.romain@process-one.net>
Fri, 10 Oct 2008 20:27:18 +0000 (20:27 +0000)
SVN Revision: 1630

src/mod_pubsub/mod_pubsub.erl

index 2ada3a5149674e121e49f270ebdf24358ad4c855..f140d6e9d26413d81b299525deffb0df9c39a17c 100644 (file)
@@ -1486,7 +1486,7 @@ publish_item(Host, ServerHost, Node, Publisher, ItemId, Payload) ->
                             node_call(Type, publish_item, [Host, Node, Publisher, PublishModel, MaxItems, ItemId, Payload])
                     end
             end,
-    ejabberd_hooks:run(pubsub_publish_item, Host, [Host, Node, JID, service_jid(Host), ItemId, Payload]),
+    ejabberd_hooks:run(pubsub_publish_item, Host, [Host, Node, Publisher, service_jid(Host), ItemId, Payload]),
     Reply = [],
     case transaction(Host, Node, Action, sync_dirty) of
        {error, ?ERR_ITEM_NOT_FOUND} ->