attempt to index a function value
git [04-17-18 - 18:38]
attempt to index a function value
diff --git a/DASUserSettingsAdapter.lua b/DASUserSettingsAdapter.lua
index d367ca0..900ef98 100644
--- a/DASUserSettingsAdapter.lua
+++ b/DASUserSettingsAdapter.lua
@@ -88,16 +88,16 @@ function DAS.SetTooltipRight(value)
end
function DAS.GetQuestShareDelay()
- return GetSettings.questShareDelay
+ return GetSettings().questShareDelay
end
function DAS.SetQuestShareDelay(value)
- GetSettings.questShareDelay = value
+ GetSettings().questShareDelay = value
end
function DAS.GetGroupInviteDelay()
- return GetSettings.groupInviteDelay
+ return GetSettings().groupInviteDelay
end
function DAS.SetGroupInviteDelay(value)
- GetSettings.groupInviteDelay = value
+ GetSettings().groupInviteDelay = value
end
-- called from settings
diff --git a/DailyAutoShare.txt b/DailyAutoShare.txt
index 3236c01..64df92b 100644
--- a/DailyAutoShare.txt
+++ b/DailyAutoShare.txt
@@ -1,6 +1,6 @@
## Title: DailyAutoShare
## Author: manavortex
-## Version: 3.1.1
+## Version: 3.1.1a
## APIVersion: 100022
## SavedVariables: DAS_Settings DAS_Globals
## OptionalDependsOn: LibStub LibCustomMenu LibAddonMenu-2.0 LibMediaProvider-1.0 pchat