mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
In get_vh_session_list/1, remove a bad list_to_binary/1; now that
exmpp_stringprep return the correct type, it was used on a binary(). PR: EJABP-1 SVN Revision: 1845
This commit is contained in:
parent
0cf0992f78
commit
a105dcb060
@ -3,6 +3,10 @@
|
|||||||
* src/web/ejabberd_web_admin.erl, src/ejabberd_listener.erl: Fix some
|
* src/web/ejabberd_web_admin.erl, src/ejabberd_listener.erl: Fix some
|
||||||
eDoc @spec directives.
|
eDoc @spec directives.
|
||||||
|
|
||||||
|
* src/ejabberd_sm.erl (get_vh_session_list/1): Remove a bad
|
||||||
|
list_to_binary/1; now that exmpp_stringprep return the correct type,
|
||||||
|
it was used on a binary().
|
||||||
|
|
||||||
2009-01-21 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
2009-01-21 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
||||||
|
|
||||||
* src/acl.erl (match_acl/3): Use string() version of
|
* src/acl.erl (match_acl/3): Use string() version of
|
||||||
|
@ -241,8 +241,7 @@ dirty_get_my_sessions_list() ->
|
|||||||
['$_']}]).
|
['$_']}]).
|
||||||
|
|
||||||
get_vh_session_list(Server) when is_binary(Server) ->
|
get_vh_session_list(Server) when is_binary(Server) ->
|
||||||
LServer = list_to_binary(
|
LServer = exmpp_stringprep:nameprep(Server),
|
||||||
exmpp_stringprep:nameprep(Server)),
|
|
||||||
mnesia:dirty_select(
|
mnesia:dirty_select(
|
||||||
session,
|
session,
|
||||||
[{#session{usr = '$1', _ = '_'},
|
[{#session{usr = '$1', _ = '_'},
|
||||||
|
Loading…
Reference in New Issue
Block a user