add ban reason support to the ban list
This commit is contained in:
parent
e935c2d351
commit
82cc3608c9
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ do
|
|||
./mp-lobby-logger.pl -j -p $PORT -l $SERVERBASE/currentlobby.log >> $SERVERBASE/logs/lobby-chat.log 2>&1 &
|
||||
cd $SERVERBASE/build/
|
||||
fi
|
||||
for ip in $(cat $SERVERBASE/banlist 2> /dev/null); do $HOME/bin/send_server_command $SERVER ban $ip; done
|
||||
cat $SERVERBASE/banlist 2> /dev/null | while read -r ip reason; do $HOME/bin/send_server_command $SERVER ban "$ip $reason"; done
|
||||
# wait for the server to terminate
|
||||
wait $PID
|
||||
# need to use the recorded path since the build/ symlink might have changed
|
||||
|
|
Loading…
Add table
Reference in a new issue