ajax-lives / NoRussian

Volunteer DoS tool via HTML + JS
GNU General Public License v3.0
371 stars 58 forks source link

Fix for function created in loop in flood #65

Closed naslundx closed 2 years ago

naslundx commented 2 years ago

jshint warns about "confusing semantics", this fixes most of those errors.

Source: https://stackoverflow.com/questions/46027262/functions-declared-within-loops-referencing-an-outer-scoped-variable-may-lead-to

Ycirn commented 2 years ago

Didnt test it, but looks good if it still works. It might conflict with your other PR's though.