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