25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Merge pull request #341 from sezuan/fix-kick-user-command

Fix kick_user command
This commit is contained in:
Evgeny Khramtsov 2014-11-10 23:14:34 +03:00
commit de3e1c3508

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