Browse Source

corrected gsquery bug

pull/1073/head
Daniel Gibbs 9 years ago
parent
commit
ebd35d2d89
  1. 2
      lgsm/functions/command_monitor.sh
  2. 2
      lgsm/functions/install_gsquery.sh
  3. 2
      lgsm/functions/monitor_gsquery.sh

2
lgsm/functions/command_monitor.sh

@ -66,7 +66,7 @@ fn_monitor_tmux(){
local allowed_engines_array=( avalanche goldsource realvirtuality source spark unity3d unreal unreal2 )
for allowed_engine in "${allowed_engines_array[@]}"
do
if [ "${allowed_engine}" == "${function_selfname}" ]; then
if [ "${allowed_engine}" == "${engine}" ]; then
monitor_gsquery.sh
fi
done

2
lgsm/functions/install_gsquery.sh

@ -5,7 +5,7 @@
lgsm_version="210516"
fn_dlgsquery(){
cd "${rootdir}"
cd "${functionsdir}"
echo -e "downloading gsquery.py...\c"
wget -N /dev/null "https://gameservermanagers.com/dl/gsquery.py" 2>&1 | grep -F "HTTP" | grep -v "Moved Permanently" | cut -c45- | uniq
chmod +x gsquery.py

2
lgsm/functions/monitor_gsquery.sh

@ -9,7 +9,7 @@ lgsm_version="210516"
local modulename="Monitor"
# Forces legecy servers to use gsquery as vat gsquery is not present in legecy
# Forces legecy servers to use gsquery
if [ -z "${gsquery}" ]; then
gsquery="yes"
fi

Loading…
Cancel
Save