aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Eek <gustaveek@student.gu.se>2011-03-11 20:37:40 +0100
committerGustav Eek <gustaveek@student.gu.se>2011-03-11 20:37:40 +0100
commitf0743e464bdeeb858dc526a7d5735529f72bd661 (patch)
tree597217a90b7b780e4d92ea059c7316a12598766d
parent7938fe602e343fa9d47a1f89a6083f3b6a3906d0 (diff)
parent8eef6a6db97b74084bb56013af015a62f1c8c5d7 (diff)
Merge branch 'master' of https://github.com/skangas/fripost-tools
-rwxr-xr-xfripost-adduser2
-rwxr-xr-xfripost-newalias2
2 files changed, 2 insertions, 2 deletions
diff --git a/fripost-adduser b/fripost-adduser
index 50ac9e6..86da15d 100755
--- a/fripost-adduser
+++ b/fripost-adduser
@@ -104,7 +104,7 @@ my $msg = MIME::Lite->new(
$msg->send();
say "Sent welcome message: ";
-say $msg->as_text;
+say $msg->as_string;
=head1 AUTHOR
diff --git a/fripost-newalias b/fripost-newalias
index 313691f..2668943 100755
--- a/fripost-newalias
+++ b/fripost-newalias
@@ -41,7 +41,7 @@ my $schema = Fripost::Schema->connect(
my $goto = shift @ARGV;
my @addr = @ARGV;
-$goto //= prompt_user("Alias goto address: ");
+$goto //= prompt_username("Alias goto address: ");
@addr || push @addr, prompt "Alias address: ";