Quantcast

When typing /bgs <search term>, use the whole term instead of the first word

dpatti [05-25-11 - 08:49]
When typing /bgs <search term>, use the whole term instead of the first word
Filename
BagSync.lua
diff --git a/BagSync.lua b/BagSync.lua
index c9f62a1..3751c22 100644
--- a/BagSync.lua
+++ b/BagSync.lua
@@ -226,7 +226,7 @@ function BagSync:PLAYER_LOGIN()
 				--do an item search
 				if BagSync_SearchFrame then
 					if not BagSync_SearchFrame:IsVisible() then BagSync_SearchFrame:Show() end
-					BagSync_SearchFrame.SEARCHBTN:SetText(c:lower())
+					BagSync_SearchFrame.SEARCHBTN:SetText(msg)
 					BagSync_SearchFrame:DoSearch()
 				end
 				return true