diff options
Diffstat (limited to 'lib/Fripost')
-rw-r--r-- | lib/Fripost/Schema/Type/Alias.pm | 1 |
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}; |