Add more default allowed commands
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
deb42dbe25
commit
4524070618
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user