mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-11 12:32:37 +01:00
Fix minor undefined value warning
This commit is contained in:
parent
80d6643b28
commit
f18426be16
@ -78,7 +78,7 @@ sub execute_module {
|
||||
$stuff->{arguments} = $self->{pbot}->{factoids}->expand_special_vars($stuff->{from}, $stuff->{nick}, $stuff->{root_keyword}, $stuff->{arguments});
|
||||
$stuff->{arguments} = quotemeta $stuff->{arguments};
|
||||
|
||||
if ($stuff->{special} eq 'code-factoid' or exists $self->{pbot}->{factoids}->{factoids}->hash->{$channel}->{$trigger}->{unquote_spaces}) {
|
||||
if ((exists $self->{special} and $stuff->{special} eq 'code-factoid') or exists $self->{pbot}->{factoids}->{factoids}->hash->{$channel}->{$trigger}->{unquote_spaces}) {
|
||||
$stuff->{arguments} =~ s/\\ / /g;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user