25
1
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:
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( 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).