Quantcast

Fix a herpaderp C&P mistake. Copy pasta as the wise Torhal would say.

John Pasula [01-11-11 - 20:32]
Fix a herpaderp C&P mistake.  Copy pasta as the wise Torhal would say.
Filename
core.lua
diff --git a/core.lua b/core.lua
index 2b4fee9..65f0ad4 100644
--- a/core.lua
+++ b/core.lua
@@ -1525,7 +1525,7 @@ function addon:ChatCommand(input)
 		if not arg2 then
 			self:Print("To run a scan from a command line you need to specify the profession like: /arl scan enchanting")
 		else
-			CastSpellByName(profession)
+			CastSpellByName(arg2)
 			-- If the ARL window is shown, hide it.
 			if ARL.Frame and ARL.Frame:IsVisible() then
 				ARL.Frame:Hide()