mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Removed requiring the server be on to list the whitelist or blacklist.
This commit is contained in:
parent
24b5a9644b
commit
8c63597af5
8
msm
8
msm
@ -1735,7 +1735,6 @@ main() {
|
||||
fi
|
||||
;;
|
||||
list)
|
||||
if server_is_running $id; then
|
||||
local players=$(cat ${server_whitelist[$id]})
|
||||
|
||||
if [ -z "$players" ]; then
|
||||
@ -1743,9 +1742,6 @@ main() {
|
||||
else
|
||||
echo "$players"
|
||||
fi
|
||||
else
|
||||
echo "Server \"${server_name[$id]}\" is not running."
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "Invalid command."
|
||||
@ -1833,7 +1829,6 @@ main() {
|
||||
esac
|
||||
;;
|
||||
list)
|
||||
if server_is_running $id; then
|
||||
local players=$(cat ${server_banned_players[$id]})
|
||||
|
||||
local ips=$(cat ${server_banned_ips[$id]})
|
||||
@ -1855,9 +1850,6 @@ main() {
|
||||
done
|
||||
fi
|
||||
fi
|
||||
else
|
||||
echo "Server \"${server_name[$id]}\" is not running."
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "Invalid command."
|
||||
|
Loading…
Reference in New Issue
Block a user