Add 'xmage.de', 'woogerworks', 'localhost' buttons to connection dialog to fill in appropriate password/username

This commit is contained in:
spjspj 2016-11-13 22:59:32 +11:00
parent af725f8a6e
commit a2b3d8825e
3 changed files with 182 additions and 23 deletions

View file

@ -107,7 +107,7 @@ public class ChatManager {
}
private boolean containsSwearing(String message) {
if (message != null && message.toLowerCase().matches("^.*(asshole|balls|bastard|bitch|blowjob|cock|crap|cunt|damn|dick|douche|fag|fuck|idiot|moron|piss|prick|pussy|rape|rapist|screw you|shit|slut|vagina).*$")) {
if (message != null && message.toLowerCase().matches("^.*(anal|asshole|balls|bastard|bitch|blowjob|cock|crap|cunt|damn|dick|douche|fag|fuck|idiot|moron|piss|prick|pussy|rape|rapist|sex|screw you|shit|slut|vagina).*$")) {
return true;
}
return false;