Commit 94df683e authored by nanahira's avatar nanahira

add DIY#

parent 11df183b
Pipeline #5331 canceled with stages
in 2 minutes and 20 seconds
...@@ -1321,6 +1321,9 @@ class Room ...@@ -1321,6 +1321,9 @@ class Room
if (rule.match /(^|,|,)(NOUNIQUE|NU)(,|,|$)/) if (rule.match /(^|,|,)(NOUNIQUE|NU)(,|,|$)/)
@hostinfo.rule = 4 @hostinfo.rule = 4
if (rule.match /(^|,|,)(CUSTOM|DIY)(,|,|$)/)
@hostinfo.rule = 3
if (rule.match /(^|,|,)(NOCHECK|NC)(,|,|$)/) if (rule.match /(^|,|,)(NOCHECK|NC)(,|,|$)/)
@hostinfo.no_check_deck = true @hostinfo.no_check_deck = true
......
...@@ -1721,6 +1721,9 @@ ...@@ -1721,6 +1721,9 @@
if (rule.match(/(^|,|,)(NOUNIQUE|NU)(,|,|$)/)) { if (rule.match(/(^|,|,)(NOUNIQUE|NU)(,|,|$)/)) {
this.hostinfo.rule = 4; this.hostinfo.rule = 4;
} }
if (rule.match(/(^|,|,)(CUSTOM|DIY)(,|,|$)/)) {
this.hostinfo.rule = 3;
}
if (rule.match(/(^|,|,)(NOCHECK|NC)(,|,|$)/)) { if (rule.match(/(^|,|,)(NOCHECK|NC)(,|,|$)/)) {
this.hostinfo.no_check_deck = true; this.hostinfo.no_check_deck = true;
} }
......
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