mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 00:27:23 +01:00 
			
		
		
		
	Utils/ParseDate: Clean up error message
This commit is contained in:
		
							parent
							
								
									52beb45654
								
							
						
					
					
						commit
						f504a5e2ff
					
				@ -108,7 +108,7 @@ sub parsedate {
 | 
			
		||||
 | 
			
		||||
            # If there's still an error, it's bad input
 | 
			
		||||
            if ($@) {
 | 
			
		||||
                $@ =~ s/ ${override}from now at PBot.*$//;
 | 
			
		||||
                $@ =~ s/ ${override}from now at .*$//;
 | 
			
		||||
                return (0, $@);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user