aboutsummaryrefslogtreecommitdiffstats
path: root/fripost-newalias
diff options
context:
space:
mode:
authorStefan Kangas <skangas@skangas.se>2011-03-21 22:31:02 +0100
committerStefan Kangas <skangas@skangas.se>2011-03-21 22:31:02 +0100
commitc7701570975feab6dd268802c6f552381d691529 (patch)
tree7aa9312668e2e6c98586ab1d07d09b1543b4439d /fripost-newalias
parent7a522692d79d68d276fad9edf233530f68dadb7e (diff)
Updates
Diffstat (limited to 'fripost-newalias')
-rwxr-xr-xfripost-newalias4
1 files changed, 2 insertions, 2 deletions
diff --git a/fripost-newalias b/fripost-newalias
index ecfa4bf..4592522 100755
--- a/fripost-newalias
+++ b/fripost-newalias
@@ -50,8 +50,8 @@ my $schema = Fripost::Schema->connect(
# Get information
my $goto = fix_username(shift @ARGV);
my @addr = @ARGV;
-$goto //= prompt_username("Alias goto address: ");
-@addr || push @addr, prompt "Alias address: ";
+$goto //= prompt_email("Alias goto address: ", 'is_user');
+@addr || push @addr, prompt "Alias from address: ";
# Show goto adress
say "goto adress: $goto";