3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-01 17:16:39 +02:00

FactoidCommands: fix display of owner text in factfind

This commit is contained in:
Pragmatic Software 2020-04-16 20:03:59 -07:00
parent 0cd101721c
commit 66d0369990

View File

@ -1267,7 +1267,7 @@ sub factfind {
$arguments = substr($arguments, 0, 30);
my $argtype = undef;
$argtype = "owned by $owner" if $owner ne '.*';
$argtype = "owned by $owner" if defined $owner and $owner ne '.*';
if (defined $refby) {
if (not defined $argtype) { $argtype = "last referenced by $refby"; }