Author: noel
Date: Sun Jul 9 21:08:16 2006
New Revision: 420415
URL: http://svn.apache.org/viewvc?rev=420415&view=rev
Log:
Fix JAMES-561. Check was comparing for the name being EQUAL instead of NOT
EQUAL (changed)
Modified:
james/server/trunk/src/java/org/apache/james/transport/mailets/UsersRepositoryAliasingForwarding.java
Modified:
james/server/trunk/src/java/org/apache/james/transport/mailets/UsersRepositoryAliasingForwarding.java
URL:
http://svn.apache.org/viewvc/james/server/trunk/src/java/org/apache/james/transport/mailets/UsersRepositoryAliasingForwarding.java?rev=420415&r1=420414&r2=420415&view=diff
==============================================================================
---
james/server/trunk/src/java/org/apache/james/transport/mailets/UsersRepositoryAliasingForwarding.java
(original)
+++
james/server/trunk/src/java/org/apache/james/transport/mailets/UsersRepositoryAliasingForwarding.java
Sun Jul 9 21:08:16 2006
@@ -112,7 +112,7 @@
// remaining recipients
if (username == null) {
i.remove();
- } else if (username.equals(recipient.getUser())) {
+ } else if (!username.equals(recipient.getUser())) {
i.remove();
// if the username has been changed we add a new recipient
// with the new name.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]