25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Fix kick_user command

This commit is contained in:
Matthias Rieber 2014-11-10 20:53:00 +01:00
parent f47a59de2f
commit 8184326eb9

View File

@ -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).