mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 00:27:23 +01:00 
			
		
		
		
	Plugin/RunCommand: silence useless warning
This commit is contained in:
		
							parent
							
								
									5c43b46477
								
							
						
					
					
						commit
						03a14c4928
					
				@ -68,10 +68,10 @@ sub cmd_runcmd {
 | 
			
		||||
sub send_lines {
 | 
			
		||||
    my ($self, $context, $buffer) = @_;
 | 
			
		||||
 | 
			
		||||
    my ($line, $lines);
 | 
			
		||||
    my $lines = 0;
 | 
			
		||||
 | 
			
		||||
    while ($$buffer =~ s/(.{1,370})//) {
 | 
			
		||||
        $line = $1;
 | 
			
		||||
        my $line = $1;
 | 
			
		||||
        $line =~ s/^\s+|\s+$//g;
 | 
			
		||||
 | 
			
		||||
        if (length $line) {
 | 
			
		||||
 | 
			
		||||
@ -25,7 +25,7 @@ use PBot::Imports;
 | 
			
		||||
# These are set by the /misc/update_version script
 | 
			
		||||
use constant {
 | 
			
		||||
    BUILD_NAME     => "PBot",
 | 
			
		||||
    BUILD_REVISION => 4341,
 | 
			
		||||
    BUILD_REVISION => 4342,
 | 
			
		||||
    BUILD_DATE     => "2021-08-04",
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user