3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02:00

Users: clear user cache when rebuilding index

This commit is contained in:
Pragmatic Software 2020-04-28 16:18:53 -07:00
parent 7f700cc115
commit 90de77e523

View File

@ -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');