prevent displaying sentinel pass if no pass was used
This commit is contained in:
parent
b30beac2b5
commit
b26b3a695e
@ -310,7 +310,7 @@ var submit = function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
persistence_set("login", hub_last_nick+":"+hub_pass);
|
persistence_set("login", hub_pass.length > 0 ? hub_last_nick+":"+hub_pass : hub_last_nick);
|
||||||
|
|
||||||
sock.emit('hello', {'nick' : hub_last_nick, 'pass' : hub_pass});
|
sock.emit('hello', {'nick' : hub_last_nick, 'pass' : hub_pass});
|
||||||
$("#chatbox").disabled = true;
|
$("#chatbox").disabled = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user