mirror of
https://github.com/pragma-/pbot.git
synced 2025-02-02 15:34:05 +01:00
MessageHistory: fix recall
option value types
This commit is contained in:
parent
3a788ff201
commit
aaeff507f1
@ -256,13 +256,13 @@ sub cmd_recall_message {
|
|||||||
my @opt_args = $self->{pbot}->{interpreter}->split_line($recall, strip_quotes => 1);
|
my @opt_args = $self->{pbot}->{interpreter}->split_line($recall, strip_quotes => 1);
|
||||||
GetOptionsFromArray(
|
GetOptionsFromArray(
|
||||||
\@opt_args,
|
\@opt_args,
|
||||||
'channel|c:s' => \$recall_channel,
|
'channel|c=s' => \$recall_channel,
|
||||||
'history|h:s' => \$recall_history,
|
'history|h=s' => \$recall_history,
|
||||||
'text|t:s' => \$recall_text,
|
'text|t=s' => \$recall_text,
|
||||||
'before|b:i' => \$recall_before,
|
'before|b=i' => \$recall_before,
|
||||||
'after|a:i' => \$recall_after,
|
'after|a=i' => \$recall_after,
|
||||||
'count|n:i' => \$recall_count,
|
'count|n=i' => \$recall_count,
|
||||||
'context|x:s' => \$recall_context,
|
'context|x=s' => \$recall_context,
|
||||||
'raw|r' => \$raw,
|
'raw|r' => \$raw,
|
||||||
'random' => \$random,
|
'random' => \$random,
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user