From 562e63a3b08c29074699bb2be678a7c9efa4c10c Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 6 Aug 2009 21:15:15 +0000 Subject: [PATCH] Fix argument passing SVN Revision: 2433 --- src/ejabberd_c2s.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_c2s.erl b/src/ejabberd_c2s.erl index 7e1ee9509..b9f19ef3e 100644 --- a/src/ejabberd_c2s.erl +++ b/src/ejabberd_c2s.erl @@ -310,7 +310,7 @@ wait_for_stream({xmlstreamstart, #xmlel{ns = NS} = Opening}, StateData) -> _ -> case StateData#state.resource of undefined -> - RosterVersioningFeature = ejabberd_hooks:run_fold(roster_get_versioning_feature, Server, [], [Server]), + RosterVersioningFeature = ejabberd_hooks:run_fold(roster_get_versioning_feature, ServerB, [], [ServerB]), send_element( StateData, exmpp_stream:features([