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

src/mod_roster.erl: Bugfix in remove_user/2, values already in binary() format.

SVN Revision: 1909
This commit is contained in:
Pablo Polvorin 2009-02-21 18:07:37 +00:00
parent a5f70e15a2
commit 4956259124
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-02-21 Pablo Polvorin <pablo.polvorin@process-one.net>
* src/mod_roster.erl: Bugfix in remove_user/2: values already
in binary() format.
2009-02-21 Badlop <badlop@process-one.net> 2009-02-21 Badlop <badlop@process-one.net>
* src/ejabberd_auth.erl: Password is undefined when using digest * src/ejabberd_auth.erl: Password is undefined when using digest

View File

@ -685,8 +685,8 @@ in_auto_reply(_, _, _) -> none.
remove_user(User, Server) remove_user(User, Server)
when is_binary(User), is_binary(Server) -> when is_binary(User), is_binary(Server) ->
try try
LUser = list_to_binary(exmpp_stringprep:nodeprep(User)), LUser = exmpp_stringprep:nodeprep(User),
LServer = list_to_binary(exmpp_stringprep:nameprep(Server)), LServer = exmpp_stringprep:nameprep(Server),
US = {LUser, LServer}, US = {LUser, LServer},
F = fun() -> F = fun() ->
lists:foreach(fun(R) -> lists:foreach(fun(R) ->