add IRCSPAM support

This commit is contained in:
Rudolf Polzer 2013-06-21 10:15:36 +02:00
parent f9aee7b0a1
commit f12edb616a

View File

@ -16,6 +16,9 @@ tstart=`date +%s`
lasttime=`cat ~/.xonotic-map-compiler-autobuild/"${M##*/}".buildtime 2>/dev/null || true`
if [ -n "$lasttime" ] ; then
echo "Done in approximately $((($lasttime+59)/60)) minutes."
if [ -n "$IRCSPAM" ]; then
echo "Done in approximately $((($lasttime+59)/60)) minutes." | $IRCSPAM || true
fi
fi
misc/tools/xonotic-map-compiler "$M" `grep ^- "$M.map.options" | cut -d '#' -f 1` $minimap_override "$@"