Browse Source

utserver: Fixed admin username not showing in details

pull/8/merge
Daniel Gibbs 12 years ago
parent
commit
f0951860e0
  1. 6
      UnrealTournament99/ut99server

6
UnrealTournament99/ut99server

@ -320,7 +320,11 @@ if [ "${engine}" == "unreal2" ]||[ "${engine}" == "unreal" ];then
gsqueryport=$(grep OldQueryPortNumber= ${systemdir}/${ini}|sed 's/\OldQueryPortNumber=//g')
udplinkport=$((${gameport} + 2))
webadminport=$(grep ListenPort= ${systemdir}/${ini}|sed 's/\ListenPort=//g')
webadminuser=$(grep AdminName= ${systemdir}/${ini}|sed 's/\AdminName=//g')
if [ "${engine}" == "unreal" ];then
webadminuser=$(grep AdminUsername= ${systemdir}/${ini}|sed 's/\AdminUsername=//g')
else
webadminuser=$(grep AdminName= ${systemdir}/${ini}|sed 's/\AdminName=//g')
fi
webadminpass=$(grep AdminPassword= ${systemdir}/${ini}|sed 's/\AdminPassword=//g')
echo "Ports the server is currently using"
echo ""

Loading…
Cancel
Save