Fixed issue where setting password was faulty on entering channel a second time

This commit is contained in:
Kasper Rynning-Tønnesen
2017-11-02 11:38:02 +01:00
parent 5145b8d03c
commit 084550d84c
3 changed files with 10 additions and 7 deletions

View File

@@ -119,7 +119,6 @@ var Admin = {
}
names = ["vote","addsongs","longsongs","frontpage", "allvideos",
"removeplay", "skip", "shuffle", "userpass"];
Crypt.set_pass(chan.toLowerCase(), Crypt.tmp_pass);
for (var i = 0; i < names.length; i++) {