Quantcast

* Moved Dongle call

James Whitehead II [06-18-07 - 14:16]
* Moved Dongle call
Filename
PerfectRaid.lua
diff --git a/PerfectRaid.lua b/PerfectRaid.lua
index e8a9486..51c0450 100644
--- a/PerfectRaid.lua
+++ b/PerfectRaid.lua
@@ -37,7 +37,7 @@ assert(DongleStub, string.format("PerfectRaid requires DongleStub."))

 local L = PerfectRaidLocals
 local utils
-PerfectRaid = DongleStub("Dongle-1.0"):New("PerfectRaid")
+PerfectRaid = {}
 PerfectRaid.rev = tonumber(string.match("$Revision$", "(%d+)") or 1)

 -- This needs to be visible elsewhere
@@ -781,3 +781,5 @@ function PerfectRaid:UNIT_DISPLAYPOWER(event, unit)
 		end
 	 end
 end
+
+PerfectRaid = DongleStub("Dongle-1.0"):New("PerfectRaid", PerfectRaid)