From 66d0369990ef7636721f10eceb61d44b21ed36fa Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Thu, 16 Apr 2020 20:03:59 -0700 Subject: [PATCH] FactoidCommands: fix display of owner text in `factfind` --- PBot/FactoidCommands.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/FactoidCommands.pm b/PBot/FactoidCommands.pm index 831b081c..42acc7e2 100644 --- a/PBot/FactoidCommands.pm +++ b/PBot/FactoidCommands.pm @@ -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"; }