Exported kick_sessions in mod_admin_extra
This commit is contained in:
parent
bdac50591a
commit
b36b766420
|
@ -47,6 +47,7 @@
|
|||
num_resources/2,
|
||||
resource_num/3,
|
||||
kick_session/4,
|
||||
kick_sessions/3,
|
||||
status_num/2, status_num/1,
|
||||
status_list/2, status_list/1,
|
||||
connected_users_info/0,
|
||||
|
@ -221,6 +222,11 @@ commands() ->
|
|||
module = ?MODULE, function = kick_session,
|
||||
args = [{user, binary}, {host, binary}, {resource, binary}, {reason, binary}],
|
||||
result = {res, rescode}},
|
||||
#ejabberd_commands{name = kick_sessions, tags = [session],
|
||||
desc = "Kick all user sessions",
|
||||
module = ?MODULE, function = kick_sessions,
|
||||
args = [{user, binary}, {host, binary}, {reason, binary}],
|
||||
result = {res, rescode}},
|
||||
#ejabberd_commands{name = status_num_host, tags = [session, stats],
|
||||
desc = "Number of logged users with this status in host",
|
||||
module = ?MODULE, function = status_num,
|
||||
|
|
Loading…
Reference in New Issue