3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-02 18:19:33 +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"); Getopt::Long::Configure("bundling");
GetOptionsFromArray( GetOptionsFromArray(
\@opt_args, \@opt_args,
'r:i' => \$repeats, 'r=i' => \$repeats,
't:s' => \$time, 't=s' => \$time,
'c:s' => \$channel, 'c=s' => \$channel,
'm:s' => \$text, 'm=s' => \$text,
'l:s' => \$list_reminders, 'l:s' => \$list_reminders,
'd:i' => \$delete_id 'd=i' => \$delete_id
); );
return "$getopt_error -- $usage" if defined $getopt_error; return "$getopt_error -- $usage" if defined $getopt_error;