mirror of https://github.com/pragma-/pbot.git
Spinach: show expression used in output for rank expr
This commit is contained in:
parent
8bd1a00ce2
commit
7de3cb6dd1
|
@ -319,7 +319,11 @@ sub rank {
|
||||||
$result = "No rankings available for $self->{channel} yet.\n";
|
$result = "No rankings available for $self->{channel} yet.\n";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$result = "Rankings for $ranks{$arguments}->{title}: ";
|
if ($arguments eq 'expr') {
|
||||||
|
$result = "Rankings for $opt_arg: ";
|
||||||
|
} else {
|
||||||
|
$result = "Rankings for $ranks{$arguments}->{title}: ";
|
||||||
|
}
|
||||||
$result .= join ', ', @ranking;
|
$result .= join ', ', @ranking;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue