From 54549eee2f58a9cb2226926c31f3089b9d0d2fbd Mon Sep 17 00:00:00 2001 From: Arcidayne <9382522b@opayq.com> Date: Sun, 20 Dec 2015 12:19:56 -0800 Subject: [PATCH] Epic Group Counter --- Epic_Not_Here_Counter/Epic_Not_Here_Counter.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Epic_Not_Here_Counter/Epic_Not_Here_Counter.xml b/Epic_Not_Here_Counter/Epic_Not_Here_Counter.xml index dc00581..a69efee 100644 --- a/Epic_Not_Here_Counter/Epic_Not_Here_Counter.xml +++ b/Epic_Not_Here_Counter/Epic_Not_Here_Counter.xml @@ -237,7 +237,7 @@ function UpdatePlugin() raw_return = nil if status == 200 then - raw_version = string.match(page, '%s+version="([0-9%.]+)"') + raw_version = string.match(page, '%s%s+version="([0-9%.]+)"') print("Raw version: " .. raw_version) print("Plugin version: " .. plugin_version) end @@ -249,7 +249,7 @@ function UpdatePlugin() local file = io.open(plugin_file, "w") file:write(page) file:close() - LoadPlugin(plugin_file) + ReloadPlugin(GetPluginID()) end raw_version = nil