diff options
Diffstat (limited to 'src/channel.c')
-rw-r--r-- | src/channel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/channel.c b/src/channel.c index 50dd18087..af282cdae 100644 --- a/src/channel.c +++ b/src/channel.c @@ -786,6 +786,7 @@ channel_get_json(int ch_idx, int id, typval_T **rettv) if ((id > 0 && tv->v_type == VAR_NUMBER && tv->vval.v_number == id) || (id <= 0 && (tv->v_type != VAR_NUMBER + || tv->vval.v_number == 0 || tv->vval.v_number != channel->ch_block_id))) { *rettv = item->value; |