From 5c70820fa506e8ba855d9165754eeeaaf2cc2b95 Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Sat, 26 Feb 2011 12:47:32 -0600 Subject: [PATCH] Stop watching for addons loading once WeightsWatcher has been loaded --- WeightsWatcher.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/WeightsWatcher.xml b/WeightsWatcher.xml index d590208..a69305c 100644 --- a/WeightsWatcher.xml +++ b/WeightsWatcher.xml @@ -8,6 +8,7 @@ if event == "ADDON_LOADED" and ... == "WeightsWatcher" then self:OnInitialize() + self:UnregisterEvent("ADDON_LOADED") end -- 1.7.9.5