diff Modules/Events.lua @ 109:c59d22fac6d1

Added an option to enable the COD warning under /ia options > Messages > COD Warning. This is on by default.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Fri, 27 Aug 2010 19:08:15 -0700
parents 028c02f1d47f
children 52e8cad9ccc4
line wrap: on
line diff
--- a/Modules/Events.lua	Tue Aug 24 22:40:07 2010 -0700
+++ b/Modules/Events.lua	Fri Aug 27 19:08:15 2010 -0700
@@ -120,7 +120,7 @@
 			break
 		end
 	end
-	if cross_account_mail and attachedValue > self.mailOutbox.COD and not skipCODCheck then
+	if cross_account_mail and attachedValue > self.mailOutbox.COD and not skipCODCheck and ItemAuditor.db.char.cod_warnings then
 		self:GenerateBlankOutbox()
 		skipCODCheck = false;
 		local vararg = ...