From f83565a402ac75615cf7622ca14e93f1caee1808 Mon Sep 17 00:00:00 2001 From: MCorange Date: Sun, 25 Aug 2024 22:41:49 +0300 Subject: [PATCH] :3 --- rtmc.lua | 2 +- src/updater.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rtmc.lua b/rtmc.lua index 047082f..4f7e0f5 100644 --- a/rtmc.lua +++ b/rtmc.lua @@ -389,7 +389,7 @@ rawset(__BUNDLER_FILES, "updater", function () if self.curr_commit_hash == "" then log.debug("No commit hash found, setting"); self.curr_commit_hash = data[1].hash; - elseif data[1].hash == self.curr_commit_hash then + elseif data[1].hash ~= self.curr_commit_hash then log.debug("Commit hash doesnt match, probbably an update"); return true; end diff --git a/src/updater.lua b/src/updater.lua index e6e2354..d6f252f 100644 --- a/src/updater.lua +++ b/src/updater.lua @@ -72,7 +72,7 @@ function updater:check(branch) if self.curr_commit_hash == "" then log.debug("No commit hash found, setting"); self.curr_commit_hash = data[1].hash; - elseif data[1].hash == self.curr_commit_hash then + elseif data[1].hash ~= self.curr_commit_hash then log.debug("Commit hash doesnt match, probbably an update"); return true; end