diff --git a/lib/Mnemosyne/Config.pm b/lib/Mnemosyne/Config.pm index 74f00af..c5258fd 100644 --- a/lib/Mnemosyne/Config.pm +++ b/lib/Mnemosyne/Config.pm @@ -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;