mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-29 23:39:24 +01:00
Commands: respect preserve_whitespace metadata
This commit is contained in:
parent
bb6badba93
commit
8d9625a320
@ -232,6 +232,10 @@ sub interpreter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($self->get_meta($keyword, 'preserve_whitespace')) {
|
||||||
|
$context->{preserve_whitespace} = 1;
|
||||||
|
}
|
||||||
|
|
||||||
unless ($self->get_meta($keyword, 'dont-replace-pronouns')) {
|
unless ($self->get_meta($keyword, 'dont-replace-pronouns')) {
|
||||||
$context->{arguments} = $self->{pbot}->{factoids}->expand_factoid_vars($context, $context->{arguments});
|
$context->{arguments} = $self->{pbot}->{factoids}->expand_factoid_vars($context, $context->{arguments});
|
||||||
$context->{arglist} = $self->{pbot}->{interpreter}->make_args($context->{arguments});
|
$context->{arglist} = $self->{pbot}->{interpreter}->make_args($context->{arguments});
|
||||||
|
Loading…
Reference in New Issue
Block a user