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:
parent
ca28ff7dfc
commit
79a965d092
1 changed files with 2 additions and 5 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue