From eea26843500c7d12f0ee2e9e89d80953d5f7276f Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 3 May 2012 14:56:22 +0200 Subject: wibble --- lib/Fripost/Schema/Type/Alias.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Fripost/Schema/Type/Alias.pm b/lib/Fripost/Schema/Type/Alias.pm index 5ee334d..9acab0d 100644 --- a/lib/Fripost/Schema/Type/Alias.pm +++ b/lib/Fripost/Schema/Type/Alias.pm @@ -21,6 +21,7 @@ sub search { my $alias = shift; my ($username, $domain); + $domain = $alias->{domain} if defined $alias->{domain}; ($username, $domain) = split /\@/, $alias->{address}, 2 if defined $alias->{address}; -- cgit v1.2.3