mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fallback if userpass is undefined for channel
This commit is contained in:
@@ -197,6 +197,7 @@ function get_list_ajax() {
|
|||||||
|
|
||||||
function get_np_ajax() {
|
function get_np_ajax() {
|
||||||
var c = Crypt.get_userpass(chan.toLowerCase());
|
var c = Crypt.get_userpass(chan.toLowerCase());
|
||||||
|
if(c == undefined) c = "";
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
data: {
|
data: {
|
||||||
|
|||||||
Reference in New Issue
Block a user