From 9a65aff125e65db87a1975e7c04bd504e9a2b7f8 Mon Sep 17 00:00:00 2001 From: swag Date: Wed, 7 Dec 2022 23:07:58 -0600 Subject: [PATCH] Whoopsie --- lib/PostText.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PostText.pm b/lib/PostText.pm index 29e656c..f5e8c17 100644 --- a/lib/PostText.pm +++ b/lib/PostText.pm @@ -52,7 +52,7 @@ sub startup($self) { $self->helper(is_mod => sub ($c) { if (my $mod_id = $c->session->{'mod_id'}) { - return 1 if $mod_id =~ /\d/ + return 1 if $mod_id =~ /\d+/ } return undef;