Skip to content

Commit 7a0fb4e

Browse files
authored
Update iochat.js
1 parent d623e26 commit 7a0fb4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/iochat.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,8 @@ $(document).ready(function() {
421421
}
422422

423423
// Convert the pattern into a regex
424-
const regexPattern = pattern.replace(/\*/g, '.*'); // Replace '*' with '.*' for regex
425-
const regex = new RegExp(`^${regexPattern}`, 'i'); // Create a case-insensitive regex
424+
// const regexPattern = pattern.replace(/\*/g, '.*'); // Replace '*' with '.*' for regex
425+
/* const regex = new RegExp(`^${regexPattern}`, 'i'); // Create a case-insensitive regex
426426
427427
// Check if the username matches the regex
428428
if (regex.test(username)) {
@@ -431,7 +431,7 @@ $(document).ready(function() {
431431
updateBlockedUsersList();
432432
filterMessages();
433433
return;
434-
}
434+
} */
435435

436436
// Function to unblock all users
437437
function unblockAllUsers() {

0 commit comments

Comments
 (0)