mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Fix kick_user command
This commit is contained in:
parent
f47a59de2f
commit
8184326eb9
@ -849,7 +849,7 @@ kick_user(User, Server) ->
|
|||||||
lists:foreach(
|
lists:foreach(
|
||||||
fun(Resource) ->
|
fun(Resource) ->
|
||||||
PID = get_session_pid(User, Server, Resource),
|
PID = get_session_pid(User, Server, Resource),
|
||||||
PID ! disconnect
|
PID ! kick
|
||||||
end, Resources),
|
end, Resources),
|
||||||
length(Resources).
|
length(Resources).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user