Skip to content

Commit 0dc37c7

Browse files
authored
Update iochat.js
1 parent 9d0f83f commit 0dc37c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

js/iochat.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ $(document).ready(function() {
395395
// Function to block a user
396396
function blockUser(username) {
397397
// Check if the username is "a bot"
398-
if (username.toLowerCase() === "a bot") {
398+
if (username.toLowerCase() === "a bot", "Guest8389") {
399399
// Add "a bot" to the blockedUsers array
400400
blockedUsers.push(username);
401401
updateBlockedUsersList();
@@ -435,8 +435,8 @@ $(document).ready(function() {
435435

436436
// Function to unblock all users
437437
function unblockAllUsers() {
438-
blockedUsers = ["a bot"];
439-
updateBlockedUsersList("a bot");
438+
blockedUsers = ["a bot", "Guest8389"];
439+
updateBlockedUsersList("a bot", "Guest8389");
440440
filterMessages();
441441
}
442442

@@ -495,7 +495,7 @@ $(document).ready(function() {
495495
}
496496

497497
// Initial call to display the blocked users and filter messages
498-
updateBlockedUsersList("a bot");
498+
updateBlockedUsersList("a bot", "Guest8389");
499499
filterMessages();
500500

501501
// Function to update the username color

0 commit comments

Comments
 (0)