Fixed shit not working...

main
BurnyLlama 2022-06-01 12:39:51 +02:00
parent 5d4a3baef3
commit 005799b398
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ const getIp = async () => await publicIp.v4({ onlyHttps: true })
const currentIp = await getIp()
const cachedOldIp = fs.readFileSync("./ip.cache").toString()
let oldIp = cachedOldIp ? oldIp : currentIp
let oldIp = cachedOldIp ? cachedOldIp : currentIp
async function checkIp(sendMessage) {
log("Checking for IP changes...")