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

main
Bea 5 months ago
parent deb42dbe25
commit 4524070618

@ -10,7 +10,7 @@ import java.util.List;
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
(login|register|...) means either one or the other

Loading…
Cancel
Save