From 5039d0b51be13b2d2e8ed1c2e797eb4f6d281114 Mon Sep 17 00:00:00 2001 From: Pratyush Desai Date: Fri, 20 Aug 2021 17:14:44 +0530 Subject: switch to rst, add setvhost, use config vars --- config.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config.py') diff --git a/config.py b/config.py index 29d7ba8..a3a96e9 100644 --- a/config.py +++ b/config.py @@ -52,5 +52,13 @@ SnoParser = conf.registerPlugin('SnoParser') # conf.registerGlobalValue(SnoParser, 'someConfigVariableName', # registry.Boolean(False, _("""Help for someConfigVariableName."""))) +conf.registerGlobalValue(SnoParser, 'targetChannel', + registry.String(None, ("""Sends reformatted snolines to the """))) + +conf.registerGlobalValue(SnoParser, 'AutoVhost', + registry.String('libcasa/user/', ("""Configure the vhost eg. libcasa/user/$account"""))) + +conf.registerGlobalValue(SnoParser, 'preventHighlight', + registry.Boolean(True, ("""Toggles in channel highlights with ZWSP"""))) # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: -- cgit v1.2.3