25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Fix call to the proper API function

This commit is contained in:
Badlop 2010-06-03 12:29:44 +02:00
parent e3e888b8de
commit 4e459b9466

View File

@ -3759,8 +3759,8 @@ odbc_conn(Host) ->
lists:dropwhile(fun(A) -> A/=$. end, Host) -- ".".
%% escape value for database storage
escape({_U, _H, _R}=JID)->
ejabberd_odbc:escape(exmpp_jid:to_list(JID));
escape({U, H, R})->
ejabberd_odbc:escape(exmpp_jid:to_list(U, H, R));
escape(Value)->
ejabberd_odbc:escape(Value).
%%%% helpers