summaryrefslogtreecommitdiff
path: root/pykolab/auth/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/auth/__init__.py')
-rw-r--r--pykolab/auth/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/auth/__init__.py b/pykolab/auth/__init__.py
index fd02083..f07d383 100644
--- a/pykolab/auth/__init__.py
+++ b/pykolab/auth/__init__.py
@@ -180,7 +180,7 @@ class Auth(pykolab.base.Base):
"""
Find one or more entries corresponding to the recipient address.
"""
- if not domain == None:
+ if not domain == None and not self.domain == domain:
self.connect(domain=domain)
result = self._auth.find_recipient(address)