mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 16:55:42 -04:00
fixing bug, wasn't reporting back right
This commit is contained in:
parent
2fe21433a0
commit
57cad7a8d9
1 changed files with 2 additions and 2 deletions
|
@ -127,9 +127,9 @@ sub command {
|
|||
#i lost the object oriented calling here, but i don't care too much, BECAUSE this avoids using strings for the calling, i might change that.
|
||||
$fact_string = $commandhash{$1}->($self,$subject, $said->{name}, $said);
|
||||
}
|
||||
elsif ($subject =~ m|^\s*(.*?)\s*=~\s*s/([^/]+)/([^/]+)/([gi]*)\s*$|i)
|
||||
elsif ($subject =~ m|^\s*(.*?)\s*=~\s*s/([^/]+)/([^/]+)/([gi]*)|i)
|
||||
{
|
||||
return $self->get_fact_substitute( $subject, $said->{name}, $said);
|
||||
$fact_string = $self->get_fact_substitute( $subject, $said->{name}, $said);
|
||||
}
|
||||
else {
|
||||
$fact_string = $self->get_fact( $pm, $said, $subject, $said->{name}, $call_only );
|
||||
|
|
Loading…
Add table
Reference in a new issue