diff options
author | 0neGal <mail@0negal.com> | 2022-02-18 22:23:06 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2022-02-18 22:23:06 +0100 |
commit | d271a1c74cce1ef75672a1ff2888862ee1fc393c (patch) | |
tree | 02407710f1ee47f1f849c944b0cca72ab96e8fae /src/lang | |
parent | 78a83334f42294fdc0e36c2c44e1fbff7369fd7c (diff) | |
download | Viper-d271a1c74cce1ef75672a1ff2888862ee1fc393c.tar.gz Viper-d271a1c74cce1ef75672a1ff2888862ee1fc393c.zip |
fix being able to upload any file
Usually utils.js would default to simply unzipping whatever was uploaded
if it wasn't a folder, now we check if it has "zip" as the extension,
case insensitive. If not simply report back the file wasn't a mod.
As opposed to the obscure error you got before this.
Diffstat (limited to 'src/lang')
0 files changed, 0 insertions, 0 deletions