mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 00:27:23 +01:00 
			
		
		
		
	ChanOpCommands: fix unban *
				
					
				
			This commit is contained in:
		
							parent
							
								
									5633bf8798
								
							
						
					
					
						commit
						559b058dd1
					
				@ -460,7 +460,7 @@ sub cmd_unban {
 | 
			
		||||
            if ($self->{pbot}->{banlist}->{banlist}->exists($channel)) {
 | 
			
		||||
                $immediately = 0;
 | 
			
		||||
                foreach my $banmask ($self->{pbot}->{banlist}->{banlist}->get_keys($channel)) {
 | 
			
		||||
                    $self->{pbot}->{banlist}->unban_user($banmask, 'b', $channel, $immediately);
 | 
			
		||||
                    $self->{pbot}->{banlist}->unban_user($channel, 'b', $banmask, $immediately);
 | 
			
		||||
                }
 | 
			
		||||
                last;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user