forked from Hri7566/mpp-server-dev2
color2 can be anything when creating a new channel
This commit is contained in:
parent
8b289a4bc3
commit
1c8c328c76
|
@ -421,6 +421,8 @@ class Room extends EventEmitter {
|
|||
if(this.settings){
|
||||
if(this.settings.color2) msg.set.color2 = this.settings.color2;
|
||||
else delete msg.set.color2; // keep it nice and clean
|
||||
} else {
|
||||
delete msg.set.color2;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue