Quantcast

Fixed typo in slashhandler

p3lim-52096 [01-03-09 - 07:40]
Fixed typo in slashhandler

git-svn-id: svn://svn.wowinterface.com/pError-161/trunk@10 7a612bb6-1b7b-4f5f-b58b-e1cc54d1b6b6
Filename
pError/pError.lua
diff --git a/pError/pError.lua b/pError/pError.lua
index 430f944..1c26489 100644
--- a/pError/pError.lua
+++ b/pError/pError.lua
@@ -51,7 +51,7 @@ SlashCmdList.PERROR = function(str)
 		for k,v in pairs(pErrorDB) do
 			if(k == str) then
 				pErrorDB[k] = not v
-				print(format('|cffff8080pError:|r %s "%s"', k, v and 'Enabled' or 'Disabled'))
+				print(format('|cffff8080pError:|r %s "%s"', v and '|cffff0000Disabled|r' or '|cff00ff00Enabled|r', k))
 				return
 			end
 		end