mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 08:37:24 +01:00 
			
		
		
		
	Limit max action length from code-factoid result
This commit is contained in:
		
							parent
							
								
									556821805f
								
							
						
					
					
						commit
						7f2f32f3d0
					
				@ -684,6 +684,8 @@ sub interpreter {
 | 
			
		||||
      $action = "/say Error in factoid: $error";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    $action = substr $action, 0, 400;
 | 
			
		||||
 | 
			
		||||
    %SIG = %signals;
 | 
			
		||||
    alarm 1;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user