3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-24 03:33:06 +01:00

Plugins/RemindMe: correct remindme option value types

This commit is contained in:
Pragmatic Software 2021-07-08 20:07:00 -07:00
parent aaeff507f1
commit fc823af25c

View File

@ -74,12 +74,12 @@ sub cmd_remindme {
Getopt::Long::Configure("bundling");
GetOptionsFromArray(
\@opt_args,
'r:i' => \$repeats,
't:s' => \$time,
'c:s' => \$channel,
'm:s' => \$text,
'r=i' => \$repeats,
't=s' => \$time,
'c=s' => \$channel,
'm=s' => \$text,
'l:s' => \$list_reminders,
'd:i' => \$delete_id
'd=i' => \$delete_id
);
return "$getopt_error -- $usage" if defined $getopt_error;