From a458460cec77aceefdcd9b966e5c1813ea16c883 Mon Sep 17 00:00:00 2001 From: Georg Date: Thu, 26 Aug 2021 16:58:04 +0200 Subject: Adding option for sample IP Signed-off-by: Georg --- config.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'config.py') diff --git a/config.py b/config.py index cb1084a..9617979 100644 --- a/config.py +++ b/config.py @@ -61,6 +61,9 @@ conf.registerGlobalValue(SnoParser, 'AutoVhost', conf.registerGlobalValue(SnoParser, 'preventHighlight', registry.Boolean(True, ("""Toggles in channel highlights with ZWSP"""))) +### +## WHOIS related settings below: +### conf.registerGroup(SnoParser, 'whois') conf.registerGlobalValue(SnoParser.whois, 'debug', registry.Boolean('false', @@ -69,6 +72,13 @@ conf.registerGlobalValue(SnoParser.whois, 'debug', """ , private=True )) +conf.registerGlobalValue(SnoParser.whois, 'sample', + registry.String('', + """ + SnoParser: This allows to set a testing IP address, if the plugin shall be evaluated on i.e. a local network. This will override all IP addresses from SNOTICES! + """ + , private=True +)) conf.registerGroup(SnoParser.whois, 'redis') conf.registerGlobalValue(SnoParser.whois.redis, 'host', registry.String('127.0.0.1', -- cgit v1.2.3