mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 22:09:26 +01:00
Fix some broken ,fact behavior (#49)
This commit is contained in:
parent
0fd8e595a5
commit
a19f40251d
@ -803,7 +803,7 @@ sub interpreter {
|
||||
#$self->{pbot}->{logger}->log("calling find_factoid in Factoids.pm, interpreter() to search for factoid against global/current\n");
|
||||
my ($channel, $keyword) = $self->find_factoid($stuff->{ref_from} ? $stuff->{ref_from} : $stuff->{from}, $stuff->{keyword}, $stuff->{arguments}, 1);
|
||||
|
||||
if (not $stuff->{ref_from} or $stuff->{ref_from} eq '.*') {
|
||||
if (not $stuff->{ref_from} or $stuff->{ref_from} eq '.*' or $stuff->{ref_from} eq $stuff->{from}) {
|
||||
$stuff->{ref_from} = "";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user