Fixes attempt to call method 'loadHelp' (a nil value)
Alar of Runetotem [10-26-16 - 17:27]
Fixes attempt to call method 'loadHelp' (a nil value)
diff --git a/GarrisonCommander-Broker/GarrisonCommander-Broker.toc b/GarrisonCommander-Broker/GarrisonCommander-Broker.toc
index c4fb187..9337e54 100644
--- a/GarrisonCommander-Broker/GarrisonCommander-Broker.toc
+++ b/GarrisonCommander-Broker/GarrisonCommander-Broker.toc
@@ -21,4 +21,5 @@
embeds.xml
localization.lua
ldb.lua
+RelNotes.lua
diff --git a/GarrisonCommander-Broker/RelNotes.lua b/GarrisonCommander-Broker/RelNotes.lua
new file mode 100644
index 0000000..1a49b20
--- /dev/null
+++ b/GarrisonCommander-Broker/RelNotes.lua
@@ -0,0 +1,17 @@
+local me,ns=...
+local hlp=LibStub("LibInit"):GetAddon(me)
+local L=hlp:GetLocale()
+function hlp:loadHelp()
+self:HF_Title(me,"RELNOTES")
+self:HF_Paragraph("Description")
+self:HF_Pre([[
+Data broker for Garrison stuff.
+]])
+self:RelNotes(2,15,3,[[
+Fix: Ticket 158 attempt to call method 'loadHelp' (a nil value)
+]])
+self:RelNotes(2,15,2,[[
+Feature: Order hall mission are now purple
+Feature: Extended profile management enabled
+]])
+end
\ No newline at end of file
diff --git a/GarrisonCommander-Broker/ldb.lua b/GarrisonCommander-Broker/ldb.lua
index 1bd0d63..c0aed7a 100644
--- a/GarrisonCommander-Broker/ldb.lua
+++ b/GarrisonCommander-Broker/ldb.lua
@@ -871,19 +871,6 @@ local function highdebug(tb)
end
end
end
-
-function addon:loadHelp()
-self:HF_Title(me,"RELNOTES")
-self:HF_Paragraph("Description")
-self:HF_Pre([[
-Data broker for Garrison stuff.
-]])
-self:RelNotes(2,15,2,[[
-Feature: Order hall mission are now purple
-Feature: Extended profile management enabled
-]])
-end
-
--highdebug(addon)
--highdebug(dataobj)
--highdebug(farmobj)