mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 08:37:24 +01:00 
			
		
		
		
	Users: clear user cache when rebuilding index
This commit is contained in:
		
							parent
							
								
									7f700cc115
								
							
						
					
					
						commit
						90de77e523
					
				@ -161,6 +161,7 @@ sub rebuild_user_index {
 | 
			
		||||
    my ($self) = @_;
 | 
			
		||||
 | 
			
		||||
    $self->{user_index} = {};
 | 
			
		||||
    $self->{user_cache} = {};
 | 
			
		||||
 | 
			
		||||
    foreach my $name ($self->{users}->get_keys) {
 | 
			
		||||
        my $channels  = $self->{users}->get_data($name, 'channels');
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user