Skip to content

Commit

Permalink
Update twinklearv.js
Browse files Browse the repository at this point in the history
  • Loading branch information
darmanilink authored Feb 21, 2024
1 parent e20df6c commit 6bf3708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/twinklearv.js
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ Twinkle.arv.callback.evaluate = function(e) {

uaaPage.load(function() {
var text = uaaPage.getPageText();

// check if user has already been reported
if (new RegExp('\\{\\{\\s*user-uaa\\s*\\|\\s*(1\\s*=\\s*)?' + Morebits.string.escapeRegExp(uid) + '\\s*(\\||\\})').test(text)) {
uaaPage.getStatusElement().error('User is already listed.');
Expand Down

0 comments on commit 6bf3708

Please sign in to comment.