Fix annoying syntax highlighting issue

This commit is contained in:
Ben Peddell 2015-12-11 11:55:39 +10:00
parent dd41a24a3c
commit 0dc4439c4c

View File

@ -491,7 +491,7 @@ function isTheServerOnline(){
# If the Steam server response contains "addr": "$ip:$port",
# then the server has registered with the Steam master server
if [[ "$serverresp" =~ \"addr\":\ \"([^\"]*):([0-9]*)\" ]]; then
if [[ "$serverresp" =~ "\"addr\": \""([^\"]*):([0-9]*)"\"" ]]; then
return 0
else
return 1