From 311b8dde4bd4e7d520c8ed9133adbf573edeee19 Mon Sep 17 00:00:00 2001 From: Rodger Castle Date: Thu, 4 Jun 2026 20:56:29 -0400 Subject: [PATCH] Change to Config.pm to return the correct @idds --- lib/Mnemosyne/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;