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