Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
sirdarckcat committed Jan 22, 2021
1 parent 2d2e64a commit 72ee009
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions infrastructure/ctfmate/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1079,12 +1079,12 @@ <h4 class="mdl-dialog__title">Change countdown</h4>
return true;
}
});
var blacklist = [
var actions = [
'dropped a bear', 'rocked up', 'shot through', 'joined the telly', 'gave this task to the garbo'
].indexOf(what);
if (blacklist > -1) {
if (actions > -1) {
div.dataset.showNickname = true;
document.body.dataset.dropbear = !blacklist;
document.body.dataset.dropbear = !actions;
} else if (!mentioned && taskFavorites[where] && who != username) {
sendNotification(`#${where}`, {
body: `${who}: ${what}`,
Expand Down

0 comments on commit 72ee009

Please sign in to comment.