1
0
Fork 0
mirror of https://codeberg.org/spire/sm_whitelist.git synced 2026-06-03 10:14:07 +02:00

retrigger ci

This commit is contained in:
Robin Appelman 2020-02-09 23:08:27 +01:00
commit 79a965d092

View file

@ -77,13 +77,10 @@ public DownloadWhiteList(String:whiteListId[128], bool:exec) {
public onComplete(Handle:hndl, CURLcode:code) { public onComplete(Handle:hndl, CURLcode:code) {
CloseHandle(hndl); CloseHandle(hndl);
if(code != CURLE_OK) if(code != CURLE_OK) {
{
PrintToChatAll("Error downloading whitelist %s", lastId); PrintToChatAll("Error downloading whitelist %s", lastId);
PrintToChatAll("cURLCode error: %d", code); PrintToChatAll("cURLCode error: %d", code);
} } else {
else
{
decl String:targetPath[128]; decl String:targetPath[128];
Format(targetPath, sizeof(targetPath), "cfg/%s.txt", lastId); Format(targetPath, sizeof(targetPath), "cfg/%s.txt", lastId);
if(execLast) { if(execLast) {