From d13be09524a5ee5539255c0422d9b3181add6b6c Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 8 Apr 2009 18:58:11 +0000 Subject: [PATCH] * src/mod_pubsub/mod_pubsub.erl: Quickfix compilation errors. SVN Revision: 2008 --- ChangeLog | 2 ++ src/mod_pubsub/mod_pubsub.erl | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1af05bac4..40ae11a56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2009-04-08 Badlop + * src/mod_pubsub/mod_pubsub.erl: Quickfix compilation errors. + * src/mod_irc/mod_irc_connection.erl: Fix compilation warnings. 2009-04-01 Badlop diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index 613f3cb91..7e44cdfaf 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -540,7 +540,7 @@ handle_cast({presence, User, Server, Resources, JID}, State) -> _ -> ok end - end, tree_action(Host, get_nodes, [Owner, JID])) + end, tree_action(ServerHost, get_nodes, [Owner, JID])), {noreply, State}; handle_cast({remove_user, LUser, LServer}, State) -> @@ -2542,7 +2542,7 @@ max_items(Options) -> ?LISTMXFIELD(Label, "pubsub#" ++ atom_to_list(Var), get_option(Options, Var), Opts)). -get_configure_xfields(_Type, Options, Lang, _Owners, Groups) -> +get_configure_xfields(Type, Options, Lang, _Owners, Groups) -> [?XFIELD("hidden", "", "FORM_TYPE", ?NS_PUBSUB_NODE_CONFIG_s), ?BOOL_CONFIG_FIELD("Deliver payloads with event notifications", deliver_payloads), ?BOOL_CONFIG_FIELD("Deliver event notifications", deliver_notifications),