From 804c6417d49046a134a48fe2c4acc7a5733e79d9 Mon Sep 17 00:00:00 2001 From: Arcidayne <9382522b@opayq.com> Date: Sun, 20 Dec 2015 17:18:37 -0800 Subject: [PATCH] Don't download --- Updater/Updater.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Updater/Updater.xml b/Updater/Updater.xml index b06019f..9a3b8c0 100644 --- a/Updater/Updater.xml +++ b/Updater/Updater.xml @@ -48,12 +48,12 @@ function UpdatePlugin(pid, pfile, pversion, raw) ColourNote("white", "blue", "You currently have the latest version!") elseif tonumber(raw_version) > tonumber(pversion) then ColourNote("white", "blue", "Updating from " .. pversion .. " to " .. raw_version .. "!") - Unload(pid) + UnloadPlugin(pid) local file = io.open(pfile, "w") file:write(page) file:close() DoAfterSpecial(3, "ReloadPlugin(" .. pid .. ")", 12) - Unload(GetPluginID()) + UnloadPlugin(GetPluginID()) os.remove(GetPluginInfo(GetPluginID(), 6)) end