mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Removed some aes/sha256 from dependencies on clientside
This commit is contained in:
@@ -683,7 +683,9 @@ var Channel = {
|
||||
function get_history() {
|
||||
if(socket && socket.id) {
|
||||
var p = Crypt.get_userpass();
|
||||
if(p == undefined) p = "";
|
||||
var c = Crypt.crypt_pass(p, true);
|
||||
if(c == undefined) c = "";
|
||||
socket.emit("get_history", {channel: chan.toLowerCase(), all: false, pass: embed ? '' : c});
|
||||
socket.emit("get_history", {channel: chan.toLowerCase(), all: true, pass: ""});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user