mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 08:37:24 +01:00 
			
		
		
		
	Plugins/RemindMe: correct remindme option value types
				
					
				
			This commit is contained in:
		
							parent
							
								
									aaeff507f1
								
							
						
					
					
						commit
						fc823af25c
					
				@ -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;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user