Make sure when that only mhf events are detached, just in case someone uses the exact same label on event hooks.

Mere [07-14-13 - 10:52]
Make sure when that only mhf events are detached, just in case someone uses the exact same label on event hooks.
Filename
BuffManager.lua
Utils.lua
diff --git a/BuffManager.lua b/BuffManager.lua
index e6822d4..7931155 100644
--- a/BuffManager.lua
+++ b/BuffManager.lua
@@ -39,7 +39,7 @@ local function DeReferenceTickEvent()
     TotalTickers = TotalTickers - 1

     if (TotalTickers == 0) then
-        Command.Event.Detach(Event.System.Update.Begin, FrameTick, "MereHealingFrame:FrameTick");
+        Command.Event.Detach(Event.System.Update.Begin, FrameTick, "MereHealingFrame:FrameTick", nil, "MereHealingFrames");
     end
 end

diff --git a/Utils.lua b/Utils.lua
index 786580c..ec1b4ca 100644
--- a/Utils.lua
+++ b/Utils.lua
@@ -9,7 +9,7 @@ function MereHealingFrames.Utils.ReplaceEventHandler(table, eventHandlerName, ne
     local eventHandle = table[eventHandlerName]

     if (eventHandle) then
-        Command.Event.Detach(eventHandle, updateFunction, name)
+        Command.Event.Detach(eventHandle, updateFunction, name, nil, "MereHealingFrames")
     end

     table[eventHandlerName] = newEvent