mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-23 20:39:26 +01:00
Minor textual correct for factlog disambig text
This commit is contained in:
parent
edcf966d56
commit
3a25afdb01
@ -728,7 +728,7 @@ sub factlog {
|
|||||||
|
|
||||||
if (@factoids > 1) {
|
if (@factoids > 1) {
|
||||||
if ($needs_disambig or not grep { $_->[0] eq $chan } @factoids) {
|
if ($needs_disambig or not grep { $_->[0] eq $chan } @factoids) {
|
||||||
return "$trig found in multiple channels: " . (join ', ', sort map { $_->[0] eq '.*' ? 'global' : $_->[0] } @factoids) . "; use `factinfo <channel> $trig` to disambiguate.";
|
return "$trig found in multiple channels: " . (join ', ', sort map { $_->[0] eq '.*' ? 'global' : $_->[0] } @factoids) . "; use `factlog <channel> $trig` to disambiguate.";
|
||||||
} else {
|
} else {
|
||||||
foreach my $factoid (@factoids) {
|
foreach my $factoid (@factoids) {
|
||||||
if ($factoid->[0] eq $chan) {
|
if ($factoid->[0] eq $chan) {
|
||||||
|
Loading…
Reference in New Issue
Block a user