add delete argument to purge script to manually delete a room
This commit is contained in:
parent
01c9dc4825
commit
88598c4ecf
|
@ -252,6 +252,11 @@ get_admin_token
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[ "${1}" = "delete" ] && [ "${2}" != "" ] && {
|
||||||
|
purge_room "${2}"
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
check_rooms
|
check_rooms
|
||||||
disable_ratelimit
|
disable_ratelimit
|
||||||
check_api_rooms
|
check_api_rooms
|
||||||
|
|
Loading…
Reference in New Issue
Block a user