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:
parent
78f9586839
commit
bc355eebaa
@ -769,7 +769,7 @@ in_subscription(_, _, _, _, _, _) ->
|
||||
remove_user(User, Server) ->
|
||||
LUser = exmpp_stringprep:nodeprep(User),
|
||||
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}).
|
||||
|
||||
%%--------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user