summaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'config.py')
-rw-r--r--config.py49
1 files changed, 49 insertions, 0 deletions
diff --git a/config.py b/config.py
index a3a96e9..4c4f08d 100644
--- a/config.py
+++ b/config.py
@@ -61,4 +61,53 @@ conf.registerGlobalValue(SnoParser, 'AutoVhost',
conf.registerGlobalValue(SnoParser, 'preventHighlight',
registry.Boolean(True, ("""Toggles in channel highlights with ZWSP""")))
+conf.registerGroup(SnoParser, 'whois')
+conf.registerGlobalValue(SnoParser.whois, 'debug',
+ registry.Boolean('false',
+ """
+ SnoParser: True: Very verbose console output. False: Mostly silent operation.
+ """
+ , private=True
+))
+conf.registerGroup(SnoParser.whois, 'redis')
+conf.registerGlobalValue(SnoParser.whois.redis, 'host',
+ registry.String('127.0.0.1',
+ """
+ Redis: IP address or hostname.
+ """
+ , private=True
+))
+conf.registerGlobalValue(SnoParser.whois.redis, 'port',
+ registry.String('6379',
+ """
+ Redis: Port.
+ """
+ , private=True
+))
+conf.registerGlobalValue(SnoParser.whois.redis, 'username',
+ registry.String('',
+ """
+ Redis: Username. This is optional and has not been tested. It is recommended to perform initial tests on a local instance with no username and password.
+ """
+ , private=True
+))
+conf.registerGlobalValue(SnoParser.whois.redis, 'password',
+ registry.String('',
+ """
+ Redis: Password. This is optional and has not been tested. It is recommended to perform initial tests on a local instance with no username and password.
+ """
+))
+conf.registerGlobalValue(SnoParser.whois.redis, 'db',
+ registry.String('0',
+ """
+ Redis: Database number. It is recommended to use a dedicated, isolated, Redis instance for SnoParser instead of using an existing one with a different database.
+ """
+))
+conf.registerGlobalValue(SnoParser.whois.redis, 'timeout',
+ registry.String('5',
+ """
+ Redis: Socket Timeout. The developer does not know what to recommend here, but `5` seems to yield good results.
+ """
+))
+
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: