diff options
| author | Georg | 2021-08-26 16:58:04 +0200 |
|---|---|---|
| committer | Georg | 2021-08-26 16:58:04 +0200 |
| commit | a458460cec77aceefdcd9b966e5c1813ea16c883 (patch) | |
| tree | fb471dbb886e14b1b43793ee986c70d65b56a575 /config.py | |
| parent | 7d9db9dd9d75b5a3aaff4617b95563125d9c1bdf (diff) | |
| download | snoparser-a458460cec77aceefdcd9b966e5c1813ea16c883.tar.gz snoparser-a458460cec77aceefdcd9b966e5c1813ea16c883.tar.bz2 snoparser-a458460cec77aceefdcd9b966e5c1813ea16c883.zip | |
Adding option for sample IP
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'config.py')
| -rw-r--r-- | config.py | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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', |
