Commit 76928871 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 947de68d
......@@ -152,7 +152,7 @@ class Room
Room.all.push this
@hostinfo ||=
lflist: (list)-> !list.tcg and list.date.isBefore()
lflist: _.findIndex settings.lflist, (list)-> !list.tcg and list.date.isBefore()
rule: if settings.modules.enable_TCG_as_default then 2 else 0
mode: 0
enable_priority: false
......
......@@ -204,9 +204,9 @@
this.welcome = '';
Room.all.push(this);
this.hostinfo || (this.hostinfo = {
lflist: function(list) {
lflist: _.findIndex(settings.lflist, function(list) {
return !list.tcg && list.date.isBefore();
},
}),
rule: settings.modules.enable_TCG_as_default ? 2 : 0,
mode: 0,
enable_priority: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment