Skip to content

Commit e03e13b

Browse files
forgot the return true in succeed way
1 parent f214b86 commit e03e13b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amx/server/syscalls.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2774,6 +2774,7 @@ function HTTP(amx, index, type, url, data, callback)
27742774
function(responseData, error)
27752775
if error == 0 then
27762776
procCallInternal(amx, callback, index, 200, responseData)
2777+
return 1;
27772778
elseif error >= 1 and error <= 89 then
27782779
procCallInternal(amx, callback, index, 3, responseData)
27792780
return 0;
@@ -2788,7 +2789,6 @@ function HTTP(amx, index, type, url, data, callback)
27882789
return 0;
27892790
end
27902791
end, data, false)
2791-
27922792
return 0;
27932793
end
27942794

0 commit comments

Comments
 (0)