add support for a banlist for bans across restarts

This commit is contained in:
Gunter Labes 2008-04-17 13:52:25 +00:00
parent 0afbb92b11
commit 9f608b9838

View file

@ -69,6 +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
# wait for the server to terminate
wait $PID
# need to use the recorded path since the build/ symlink might have changed