aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-05-03 14:56:22 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-05-03 14:56:22 +0200
commiteea26843500c7d12f0ee2e9e89d80953d5f7276f (patch)
treef075d33b866adb3edc371c2a9b7beb5de68f6106
parent5de7d7ffd7134d1c84f6cf85ed9517576ee5187c (diff)
wibble
-rw-r--r--lib/Fripost/Schema/Type/Alias.pm1
1 files changed, 1 insertions, 0 deletions
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};