Quantcast

Filter more spam from the chatframe

Adrian L Lange [10-13-12 - 10:00]
Filter more spam from the chatframe
Filename
Monomyth.lua
diff --git a/Monomyth.lua b/Monomyth.lua
index 3bed39b..73adc44 100644
--- a/Monomyth.lua
+++ b/Monomyth.lua
@@ -240,7 +240,7 @@ Monomyth:Register('BAG_UPDATE', function(bag)
 end)

 ChatFrame_AddMessageEventFilter('CHAT_MSG_SYSTEM', function(self, event, message)
-	if(message == ERR_QUEST_ALREADY_DONE) then
+	if(message == ERR_QUEST_ALREADY_DONE or message == ERR_QUEST_FAILED_LOW_LEVEL) then
 		return true
 	end
 end)