Fix admin command, use regex for complex command detection

This commit is contained in:
eleksir
2022-04-03 17:33:14 +03:00
parent e140176c99
commit 2209872a7b
2 changed files with 19 additions and 18 deletions

View File

@@ -144,3 +144,6 @@ max_length = 200
# This is problematic
[-Miscellanea::ProhibitUnrestrictedNoCritic]
[-RegularExpressions::ProhibitFixedStringMatches]
# no, just no. I'm too lazy to everytime check string length before substr