aboutsummaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2014-05-11 14:33:34 +0300
committerkongr45gpen <electrovesta@gmail.com>2014-05-11 14:33:34 +0300
commit7a959464a488e539a442bdbcefb9daa5684f44ac (patch)
treecc58ccd8821394191bdf4cbc5cf1d8ea717d71e0 /config.py
parent9b117389606bbe5c398c52bf7001c0324ba83183 (diff)
downloadsupybot_github-7a959464a488e539a442bdbcefb9daa5684f44ac.tar.gz
supybot_github-7a959464a488e539a442bdbcefb9daa5684f44ac.tar.bz2
supybot_github-7a959464a488e539a442bdbcefb9daa5684f44ac.zip
Add setting to allow config value overrides on the URL
Diffstat (limited to 'config.py')
-rw-r--r--config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.py b/config.py
index 1c8f0da..fac9aa2 100644
--- a/config.py
+++ b/config.py
@@ -33,6 +33,10 @@ conf.registerGlobalValue(Github, 'disallowChannelOverride',
registry.Boolean(False,
"""Don't let the user select the channel where the messages will be sent to on the URL"""))
+conf.registerGlobalValue(Github, 'disallowConfigOverride',
+ registry.Boolean(True,
+ """Don't let the user change config values from the URL"""))
+
conf.registerGlobalValue(Github, 'showMilestone',
registry.Boolean(True,
"""Show the name of the milestone when reporting issues or issue comments"""))

© 2014-2024 Faster IT GmbH | imprint | privacy policy