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

Fix call to get_module_proc with binary.

SVN Revision: 2765
This commit is contained in:
Badlop 2009-11-30 13:08:37 +00:00
parent 78f9586839
commit bc355eebaa

View File

@ -769,7 +769,7 @@ in_subscription(_, _, _, _, _, _) ->
remove_user(User, Server) -> remove_user(User, Server) ->
LUser = exmpp_stringprep:nodeprep(User), LUser = exmpp_stringprep:nodeprep(User),
LServer = exmpp_stringprep:nameprep(Server), LServer = exmpp_stringprep:nameprep(Server),
Proc = gen_mod:get_module_proc(Server, ?PROCNAME), Proc = gen_mod:get_module_proc(binary_to_list(Server), ?PROCNAME),
gen_server:cast(Proc, {remove_user, LUser, LServer}). gen_server:cast(Proc, {remove_user, LUser, LServer}).
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------