Change to Config.pm to return the correct @idds

This commit is contained in:
Rodger Castle 2026-06-04 20:56:29 -04:00
parent 78ec0debf6
commit 311b8dde4b

View File

@ -63,7 +63,7 @@ sub allowed_chat_ids {
my ($self) = @_;
my $raw = $self->get('bot', 'allowed_chat_ids') // '';
my @ids = grep { /^\d+$/ } map { s/^\s+|\s+$//gr } split /,/, $raw;
return \@ids;
return @ids;
}
1;