Add more default allowed commands
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Bea 2022-11-11 18:38:08 +01:00
parent deb42dbe25
commit 4524070618
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import java.util.List;
public class CommandCanceller implements Listener public class CommandCanceller implements Listener
{ {
private final static String allowedCmdsRegex = "\\/(login|register|changepassword)\\b"; private final static String allowedCmdsRegex = "\\/(login|register|changepassword|premium|cracked)\\b";
/* /*
first "/" is the command prefix first "/" is the command prefix
(login|register|...) means either one or the other (login|register|...) means either one or the other