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:
commit
de3e1c3508
@ -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