* Updating to Dongle-1.0-r863
James Whitehead Ii [05-20-07 - 18:54]
* Updating to Dongle-1.0-r863
diff --git a/Dongle.lua b/Dongle.lua
index 00bfb10..33ade25 100755
--- a/Dongle.lua
+++ b/Dongle.lua
@@ -155,7 +155,7 @@ end
---------------------------------------------------------------------------]]
local major = "Dongle-1.0"
-local minor = tonumber(string.match("$Revision: 360 $", "(%d+)") or 1) + 500
+local minor = tonumber(string.match("$Revision: 363 $", "(%d+)") or 1) + 500
-- ** IMPORTANT NOTE **
-- Due to some issues we had previously with Dongle revision numbers
-- we need to artificially inflate the minor revision number, to ensure
@@ -1277,7 +1277,7 @@ end
-- Lets nuke any Dongle deactivate functions, please
-- I hate nasty hacks.
-if DongleStub:HasVersion(major) then
+if DongleStub.versions and DongleStub.versions[major] then
local reg = DongleStub.versions[major]
reg.deactivate = nil
end