mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-20 02:49:49 +01:00
Interpreter: minor quote change
This commit is contained in:
parent
394fc4d083
commit
212ae97122
@ -173,7 +173,7 @@ sub process_line {
|
|||||||
|
|
||||||
sub interpret {
|
sub interpret {
|
||||||
my ($self, $stuff) = @_;
|
my ($self, $stuff) = @_;
|
||||||
my ($keyword, $arguments) = ("", "");
|
my ($keyword, $arguments) = ('', '');
|
||||||
my $text;
|
my $text;
|
||||||
my $pbot = $self->{pbot};
|
my $pbot = $self->{pbot};
|
||||||
|
|
||||||
@ -223,7 +223,7 @@ sub interpret {
|
|||||||
} else {
|
} else {
|
||||||
# normal command
|
# normal command
|
||||||
($keyword, $arguments) = $self->split_args($cmdlist, 2, 0, 1);
|
($keyword, $arguments) = $self->split_args($cmdlist, 2, 0, 1);
|
||||||
$arguments = "" if not defined $arguments;
|
$arguments = '' if not defined $arguments;
|
||||||
}
|
}
|
||||||
|
|
||||||
# FIXME: make this a registry item
|
# FIXME: make this a registry item
|
||||||
|
Loading…
Reference in New Issue
Block a user