Quantcast

Fixed derp with configurable guild message

jinivus [07-04-16 - 10:59]
Fixed derp with configurable guild message
Filename
AutoGratzer.toc
Autogratzer.lua
diff --git a/AutoGratzer.toc b/AutoGratzer.toc
index 645b94b..e941494 100644
--- a/AutoGratzer.toc
+++ b/AutoGratzer.toc
@@ -2,7 +2,7 @@
 ## Interface: 60200
 ## Notes: Autograts to relevant chat on achievement
 ## Title: Autogratzer
-## Version: 2.0.1
+## Version: 2.0.2
 ## DefaultState: Enabled
 ## SavedVariablesPerCharacter: AG_GratsMessage,AG_GratsTimeMin,AG_GratsTimeMax,AG_GratsTimeWait,AG_GuildJoinMessageToggle,AG_Guild,AG_Say,AG_Party,AG_Delay,Ag_GuildDisabledOverride,AG_GroupingTime,AG_GuildJoinMessageToggle,AG_GuildWelcomeMessage
 Autogratzer.lua
diff --git a/Autogratzer.lua b/Autogratzer.lua
index b36dfd2..75ce8ca 100644
--- a/Autogratzer.lua
+++ b/Autogratzer.lua
@@ -322,7 +322,7 @@ function AG_GuildWelcome()
 		if(AG_Delay > 0)then
 			C_Timer.After((AG_Delay/1000), function() SendChatMessage("Welcome :)", "GUILD"); end)
 		else
-			SendChatMessage("Welcome :)", "GUILD");
+			SendChatMessage(AG_GuildWelcomeMessage, "GUILD");
 		end
     end
 end