mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Fix call to get_module_proc with binary.
SVN Revision: 2765
This commit is contained in:
parent
78f9586839
commit
bc355eebaa
@ -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}).
|
||||||
|
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user