forked from Hri7566/mpp-server-dev2
ability to turn vowels off
This commit is contained in:
parent
f8445fb9d9
commit
d851226915
|
@ -327,7 +327,7 @@ class Room extends EventEmitter {
|
|||
message.m = "a";
|
||||
message.a = msg.message;
|
||||
if (prsn.user.hasFlag('vowels')) {
|
||||
message.a = message.a.split(/[aeiouAEIOU]/).join(prsn.user.flags["vowels"]);
|
||||
if (prsn.user.flags.vowels != false) message.a = message.a.split(/[aeiouAEIOU]/).join(prsn.user.flags["vowels"]);
|
||||
}
|
||||
message.p = {
|
||||
color: p.user.color,
|
||||
|
|
Loading…
Reference in New Issue