mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 18:55:39 +08:00
..Equals() is also not good
This commit is contained in:
@@ -411,8 +411,8 @@ namespace OpenSim.Region.CoreModules.Scripting.EmailModules
|
||||
|
||||
for (i = 0; i < queue.Count; i++)
|
||||
{
|
||||
if ((sender == null || sender.Equals("") || sender.Equals(queue[i].sender)) &&
|
||||
(subject == null || subject.Equals("") || subject.Equals(queue[i].subject)))
|
||||
if ((string.IsNullOrEmpty(sender) || sender.Equals(queue[i].sender)) &&
|
||||
(string.IsNullOrEmpty(subject) || subject.Equals(queue[i].subject)))
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user