From 2cbd61f26866211e69722efce53333d2208a6e5f Mon Sep 17 00:00:00 2001 From: Pablo Polvorin Date: Mon, 5 Jan 2009 15:41:53 +0000 Subject: [PATCH] Fix typo in mod_roster SVN Revision: 1773 --- ChangeLog | 3 +++ src/mod_roster.erl | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1a5d73e47..0dfeb25eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2009-01-05 Pablo Polvorin + * src/mod_roster.erl: Fix typo. + 2009-01-03 Pablo Polvorin * src/mod_pubsub_node_default.erl: Fix typo diff --git a/src/mod_roster.erl b/src/mod_roster.erl index dd8b72908..6817e07a2 100644 --- a/src/mod_roster.erl +++ b/src/mod_roster.erl @@ -125,7 +125,7 @@ process_local_iq(From, To, #iq{type = set} = IQ_Rec) -> process_iq_get(From, To, IQ_Rec) -> - US = {exmpp_jid:lnode(From), exmpp_jid:ldomain_(From)}, + US = {exmpp_jid:lnode(From), exmpp_jid:ldomain(From)}, case catch ejabberd_hooks:run_fold(roster_get, exmpp_jid:ldomain(To), [], [US]) of Items when is_list(Items) -> XItems = lists:map(fun item_to_xml/1, Items),