Skip to content

Commit

Permalink
substring search
Browse files Browse the repository at this point in the history
  • Loading branch information
Areso committed Dec 30, 2021
1 parent 8e0dff6 commit b65c160
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/online.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@
if (sending_msg.toUpperCase=="NIGGERS"){
stop = true
}
if (sending_msg.toUpperCase.indexOf("NIG") !== -1){
stop = true
}
if (sending_msg.length>0 && stop===false){
allowMsg = 0;
setInterval(cooldownMsg, 5000);
Expand Down

0 comments on commit b65c160

Please # to comment.