diff --git a/src/main/java/me/rigamortis/seppuku/impl/module/misc/NameAlertModule.java b/src/main/java/me/rigamortis/seppuku/impl/module/misc/NameAlertModule.java index 003b9a0..40dcfb7 100644 --- a/src/main/java/me/rigamortis/seppuku/impl/module/misc/NameAlertModule.java +++ b/src/main/java/me/rigamortis/seppuku/impl/module/misc/NameAlertModule.java @@ -38,7 +38,7 @@ public final class NameAlertModule extends Module { return; } - if (text.contains(localUsername)) { + if (text.toLowerCase().contains(localUsername.toLowerCase())) { text = StringUtils.stripControlCodes(text); // code below is for public chat Pattern chatUsernamePattern = Pattern.compile(REGEX_NAME);