changeset 97:028c02f1d47f

Ticket 29 - Changed the Insufficient COD alert to use a case-insensitive comparison on character names.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Sat, 14 Aug 2010 06:23:41 -0700
parents 1fbbe3b53f6e
children b29441cd130d
files CHANGELOG.txt Modules/Events.lua
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGELOG.txt	Thu Aug 12 07:11:57 2010 -0700
+++ b/CHANGELOG.txt	Sat Aug 14 06:23:41 2010 -0700
@@ -1,3 +1,7 @@
+2010-08-14  Asa Ayers  <Asa.Ayers@Gmail.com>
+
+- Ticket 29 - Changed the Insufficient COD alert to use a case-insensitive comparison on character names. 
+
 2010-08-12  Asa Ayers  <Asa.Ayers@Gmail.com>
 
 - API: added IAapi.GetItemCost
--- a/Modules/Events.lua	Thu Aug 12 07:11:57 2010 -0700
+++ b/Modules/Events.lua	Sat Aug 14 06:23:41 2010 -0700
@@ -115,7 +115,7 @@
 	
 	local cross_account_mail = true
 	for name, _ in pairs(DataStore:GetCharacters()) do
-		if recipient == name then
+		if strlower(recipient) == strlower(name) then
 			cross_account_mail = false
 			break
 		end