mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 17:17:37 +00:00
tele was right...this was wrong...
match mode now acts simply, as one may intially expect
This commit is contained in:
parent
2a23759d34
commit
af7ca9acef
@ -52,7 +52,7 @@ public class CommandListener extends PlexListener
|
||||
}
|
||||
else if(blockedCommand instanceof MatchCommand matchCommand)
|
||||
{
|
||||
if (message.equalsIgnoreCase(matchCommand.getMatch()) || message.toLowerCase().startsWith(matchCommand.getMatch().toLowerCase() + " "))
|
||||
if (message.toLowerCase().startsWith(matchCommand.getMatch().toLowerCase()) /*message.equalsIgnoreCase(matchCommand.getMatch()) || message.toLowerCase().startsWith(matchCommand.getMatch().toLowerCase() + " ")*/)
|
||||
{
|
||||
isBlocked = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user