aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/managers
diff options
context:
space:
mode:
authorMinusGix <MinusGix@gmail.com>2019-01-13 23:08:16 +0100
committerGitHub <noreply@github.com>2019-01-13 23:08:16 +0100
commit6dc30d5287266e5660e035e5fa1783d43bffd247 (patch)
tree029ee4510f22ce0d26fc57c98d7bb79046d4f2c5 /server/src/managers
parentMerge pull request #48 from 4ntil0l/patch-2 (diff)
downloadhackchat-6dc30d5287266e5660e035e5fa1783d43bffd247.tar.gz
hackchat-6dc30d5287266e5660e035e5fa1783d43bffd247.zip
Change verifyNickname to es5 rather than es6.
We're not really using much es6 features, so we might as well make this a normal function so that people with browsers that are old due to not being able to update them (such as apple devices not getting updates the os after end of life). Also replaces the `const` with a `var` since it doesn't really matter if it's modified or not and that is an es6 feature was well. This might fix https://github.com/hack-chat/main/issues/33 or at least the issues 'CheekyChops' having. I didn't test this code, but it's such a simple change.
Diffstat (limited to 'server/src/managers')
0 files changed, 0 insertions, 0 deletions