Fallback if userpass is undefined for channel

This commit is contained in:
Kasper Rynning-Tønnesen
2018-03-12 19:18:59 +01:00
parent 3f0f8eb5d9
commit b6439a679b

View File

@@ -197,6 +197,7 @@ function get_list_ajax() {
function get_np_ajax() {
var c = Crypt.get_userpass(chan.toLowerCase());
if(c == undefined) c = "";
$.ajax({
type: "POST",
data: {