Fix bugs introduced in previous fix
This commit is contained in:
parent
2a8780369d
commit
8b0a19a617
@ -102,7 +102,7 @@
|
||||
whitelist = new AFCH.Page( AFCH.consts.whitelistTitle );
|
||||
whitelist.getText().done( function ( text ) {
|
||||
var $howToDisable,
|
||||
userAllowed = ( new RegExp( '\|\s*' + user + '\s*}' ).test( text );
|
||||
userAllowed = ( new RegExp( '\\|\\s*' + user + '\\s*}' ) ).test( text );
|
||||
|
||||
if ( !userAllowed ) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user