SpiffyTek
/
SMACheck
Archived
1
0
Fork 0

Fixed Client breaks if smacbans API is unavailable (#64)

This commit is contained in:
MadMakz 2012-12-21 13:38:56 +01:00
parent 423e310671
commit 51c6f296a7
2 changed files with 6 additions and 1 deletions

View File

@ -14,7 +14,7 @@
;#AutoIt3Wrapper_Res_ProductVersion=x.x.x.x ; Broken, use #AutoIt3Wrapper_Res_Field=ProductVersion|x.x.x as workarround.
#AutoIt3Wrapper_Res_Field=ProductVersion|Freeware
#AutoIt3Wrapper_Res_Fileversion=1.1.1.85
#AutoIt3Wrapper_Res_Fileversion=1.1.1.86
#AutoIt3Wrapper_Res_FileVersion_AutoIncrement=N ;(Y/N/P) AutoIncrement FileVersion After Aut2EXE is finished. default=N. P=Prompt, Will ask at Compilation time if you want to increase the versionnumber
#AutoIt3Wrapper_Res_Language=1033 ;Resource Language code . german = 1031, english (U.S.) = 1033. default 2057=English (United Kingdom). For a List see http://technet.microsoft.com/en-us/library/dd346950.aspx

View File

@ -14,6 +14,11 @@ Func lookupSteamId($input)
Return "ERROR_HANDELED"
EndIf
If $oXML = "" Then
_printError("noapi")
Return "ERROR_HANDELED"
EndIf
$oXML = _XMLLoadXML($oXML)
If @error <> 0 Then
_printError("noapi")