oops#2
git [04-07-18 - 16:51]
diff --git a/DailyAutoShare/DailyAutoShare.txt b/DailyAutoShare/DailyAutoShare.txt
index 43a4ba1..702a19b 100644
--- a/DailyAutoShare/DailyAutoShare.txt
+++ b/DailyAutoShare/DailyAutoShare.txt
@@ -1,6 +1,6 @@
## Title: DailyAutoShare
## Author: manavortex
-## Version: 2.96a
+## Version: 2.96b
## APIVersion: 100022
## SavedVariables: DAS_Settings DAS_Globals
## OptionalDependsOn: LibStub LibAddonMenu-2.0 LibMediaProvider-1.0
diff --git a/DailyAutoShare/DasGuiStringBuilder.lua b/DailyAutoShare/DasGuiStringBuilder.lua
index 0a37a59..eee6168 100644
--- a/DailyAutoShare/DasGuiStringBuilder.lua
+++ b/DailyAutoShare/DasGuiStringBuilder.lua
@@ -96,7 +96,7 @@ local function GenerateBingoString(activeQuestNames, verbose)
if NonContiguousCount(DAS.GetShareableLog()) == 0 and #activeQuestNames == 0 then
return (verbose and GetString(DAS_SI_VERBOSE_ANY)) or "+any"
end
- return ret .. ((verbose and "Looking for " .. askForQuest(questList)) or "") .. generateQuestSpam(questList)
+ return ret .. ((verbose and "Looking for " .. askForQuest(activeQuestNames)) or "") .. generateQuestSpam(activeQuestNames)
end
DAS.GenerateBingoString = GenerateBingoString
@@ -108,6 +108,9 @@ local function SpamChat(verbose, questName)
local activeQuestNames = {}
if nil == questName then
activeQuestNames = DAS.GetActiveQuestNames()
+ if {} == activeQuestNames then
+ activeQuestNames = DAS.GetOpenQuestNames()
+ end
else
table.insert(activeQuestNames, questName)
end
diff --git a/DailyAutoShare/startup.lua b/DailyAutoShare/startup.lua
index 7359d3c..9e4a866 100644
--- a/DailyAutoShare/startup.lua
+++ b/DailyAutoShare/startup.lua
@@ -3,7 +3,7 @@ DAS = DailyAutoShare
local DailyAutoShare = DailyAutoShare
DAS.name = "Daily Autoshare"
-DAS.version = "2.96a"
+DAS.version = "2.96b"
DAS.author = "manavortex"
DAS.settings = {}
DAS.globalSettings = {}