From 95ba1413011f2423adc22ba8c81d3ad2adf22b5b Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Mon, 15 Aug 2022 19:17:54 +0100 Subject: [PATCH] Add own messages to ZNC modal --- core/lib/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/context.py b/core/lib/context.py index d9578ce..0850168 100644 --- a/core/lib/context.py +++ b/core/lib/context.py @@ -37,7 +37,7 @@ def construct_query(index, net, channel, src, num, size, type=None, nicks=None): extra_should.append({"match": {"type": "self"}}) extra_should2.append({"match": {"type": "znc"}}) - #extra_should2.append({"match": {"channel": channel}}) + extra_should2.append({"match": {"channel": channel}}) elif type == "auth": if {"match": {"channel": channel}} in extra_must: extra_must.remove({"match": {"channel": channel}})