3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-05 10:58:44 +02:00

Minor textual correct for factlog disambig text

This commit is contained in:
Pragmatic Software 2015-12-13 22:28:00 -08:00
parent edcf966d56
commit 3a25afdb01

View File

@ -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) {