Skip to content

Commit d1d7247

Browse files
authored
nil check
1 parent 05af6f5 commit d1d7247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/https.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ local function apply_discord_member_count(code, body, headers)
1515
end
1616
end
1717
function Cryptid.update_member_count()
18-
if Cryptid_config.HTTPS then
18+
if Cryptid_config.HTTPS and https then
1919
if (os.time() - last_update_time >= 60) or initial then
2020
initial = false
2121
last_update_time = os.time()

0 commit comments

Comments
 (0)