mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 11:51:17 +00:00
[raffle] Fix: Raffle channel did not allow underscore in channel name
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
0d76c58ede
commit
dd80433cb0
1 changed files with 1 additions and 1 deletions
|
@ -1127,7 +1127,7 @@ export default {
|
|||
},
|
||||
|
||||
validateRaffleChannel() {
|
||||
if (!/^[a-zA-Z0-9]{4,25}$/.test(this.models.raffle.channel)) {
|
||||
if (!constants.REGEXP_USER.test(this.models.raffle.channel)) {
|
||||
return false
|
||||
}
|
||||
return null
|
||||
|
|
Loading…
Reference in a new issue