Disable error reporting if any dialogs are ignored.

This commit is contained in:
Kyzentun
2015-01-05 16:53:52 -07:00
parent 2c6776c480
commit beb625e6aa
2 changed files with 8 additions and 0 deletions
@@ -144,6 +144,10 @@ local log_display_mt= {
end
end,
[name_mess]= function(subself, mess)
if PREFSMAN:GetPreference("IgnoredDialogs") ~= "" then
self:visible(false)
return
end
if not mess.message then return end
if self.messes_since_update > self.max_log then return end
-- Long ago, someone decided that "::" should be an alias for "\n"