Merge pull request #330 from klightspeed/1.5-dev#fixsyntax

Fix annoying syntax highlighting issue
This commit is contained in:
Fez Vrasta 2015-12-12 09:51:34 +01:00
commit 753c523ff3

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