summaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
authorGeorg2021-08-26 16:58:04 +0200
committerGeorg2021-08-26 16:58:04 +0200
commita458460cec77aceefdcd9b966e5c1813ea16c883 (patch)
treefb471dbb886e14b1b43793ee986c70d65b56a575 /config.py
parent7d9db9dd9d75b5a3aaff4617b95563125d9c1bdf (diff)
downloadsnoparser-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.py10
1 files changed, 10 insertions, 0 deletions
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',