mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +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(
|
||||
fun(Resource) ->
|
||||
PID = get_session_pid(User, Server, Resource),
|
||||
PID ! disconnect
|
||||
PID ! kick
|
||||
end, Resources),
|
||||
length(Resources).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user