mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
No more http2
This commit is contained in:
@@ -619,7 +619,7 @@ var Channel = {
|
||||
}
|
||||
|
||||
function get_history() {
|
||||
if(socket.id) {
|
||||
if(socket && socket.id) {
|
||||
var p = Crypt.get_userpass();
|
||||
var c = Crypt.crypt_pass(p, true);
|
||||
socket.emit("get_history", {channel: chan.toLowerCase(), all: false, pass: embed ? '' : c});
|
||||
|
||||
Reference in New Issue
Block a user