Add more default allowed commands
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bea 2022-11-11 18:38:08 +01:00
parent deb42dbe25
commit 4524070618

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