Use canonical username, not the raw user input.
This commit is contained in:
parent
3f32f020c8
commit
2020bfea20
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ sub benedinges :Tab(USERS) {
|
|||
$self->{user} = parse_user($input)
|
||||
or return REJECT, "$input: No such user.";
|
||||
|
||||
return "Amount to give to $input", \&amount;
|
||||
return "Amount to give to $self->{user}", \&amount;
|
||||
}
|
||||
|
||||
sub amount {
|
||||
|
|
Loading…
Add table
Reference in a new issue