aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Fripost/Commands
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Fripost/Commands')
-rw-r--r--lib/Fripost/Commands/add_alias.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Fripost/Commands/add_alias.pm b/lib/Fripost/Commands/add_alias.pm
index 60fe378..59fe0e0 100644
--- a/lib/Fripost/Commands/add_alias.pm
+++ b/lib/Fripost/Commands/add_alias.pm
@@ -15,7 +15,6 @@ use FindBin qw($Bin);
use lib "$Bin/lib";
use Email::Valid;
-use IO::Prompter;
use Fripost::Prompt;
use Fripost::Schema;
use Fripost::Email;
@@ -31,7 +30,7 @@ sub main {
prompt_if_undefined ( "Alias goto address: ", \$goto,
[ rewrite => sub { fix_username $_ }
- , 'Invalid e-mail' => sub { Email::Valid->address($_) }
+ , 'Invalid e-mail' => sub { Email::Valid->address('fake'.$_) }
]
);