commit 7c03847af167284c59d03d6d6969e41ecad6af85
parent 022cdac92242bc583f29d667a7ae81d127011066
Author: Agastya Chandrakant <me@hanabi.in>
Date: Tue, 1 Dec 2020 09:09:58 +0530
fix typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils.js b/utils.js
@@ -100,7 +100,7 @@ function streamMessage(event) {
}
case "Disputed": {
const failedArticleRegex = /^\[\[:(.*)\]\]/;
- const failedArticle = comment.match(failedArticle)[1];
+ const failedArticle = comment.match(failedArticleRegex)[1];
if (comment.includes("added")) msg = `${user} has not-ready'd the [[${failedArticle}]] article.`;
break;
}