Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
tweak: nag if plugins are outdated
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanctech committed Nov 20, 2020
1 parent 286a48d commit d16f3c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sonorancad/core/plugin_loader.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ CreateThread(function()
else
Config.plugins[k].latestVersion = remote.version
if remote.version ~= version.version then
local nag = ("Plugin Updater: %s has an available update! %s -> %s - Download at: %s"):format(k, version.version, remote.version, remote.download_url.."releases/")
local nag = ("Plugin Updater: %s has an available update! %s -> %s - Download at: %s"):format(k, version.version, remote.version, remote.download_url)
warnLog(nag)
table.insert(NagMessages, nag)
end
if remote.configVersion ~= nil then
local myversion = version.configVersion ~= nil and version.configVersion or "0.0"
Expand Down

0 comments on commit d16f3c5

Please sign in to comment.