Fix channel and ban lists in context menu not working

Fixes #2400
This commit is contained in:
Pavel Djundik 2018-05-01 11:36:10 +03:00
parent 4ddb5d5b7d
commit f50d383670

View File

@ -247,7 +247,7 @@ function addEditNetworkItem() {
function addChannelListItem() {
function list(itemData) {
socket.emit("input", {
target: itemData,
target: parseInt(itemData, 10),
text: "/list",
});
}
@ -264,7 +264,7 @@ function addChannelListItem() {
function addBanListItem() {
function banlist(itemData) {
socket.emit("input", {
target: itemData,
target: parseInt(itemData, 10),
text: "/banlist",
});
}