mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-23 04:19:27 +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…
Reference in New Issue
Block a user