aboutsummaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
authorkongr45gpen <kongr45gpen@helit.org>2013-07-31 18:19:37 +0300
committerkongr45gpen <kongr45gpen@helit.org>2013-07-31 18:19:37 +0300
commitf245c9dc0e6e154fcb6f5bd0dfe52889482c08e6 (patch)
treea67c7eb6e77c0eb1a5638a71b71f40b7b2c084a3 /config.py
parent8c1681000d0c91f0874d10edf4b4be354f97d6c9 (diff)
downloadsupybot_github-f245c9dc0e6e154fcb6f5bd0dfe52889482c08e6.tar.gz
supybot_github-f245c9dc0e6e154fcb6f5bd0dfe52889482c08e6.tar.bz2
supybot_github-f245c9dc0e6e154fcb6f5bd0dfe52889482c08e6.zip
Use the commit URL to set the channel
Add disallowChannelOverride configuration variable
Diffstat (limited to 'config.py')
-rw-r--r--config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.py b/config.py
index 43841f9..eeccb02 100644
--- a/config.py
+++ b/config.py
@@ -29,4 +29,9 @@ conf.registerGlobalValue(Github, 'hidePush',
conf.registerGlobalValue(Github, 'passcode',
registry.String('', """Password which should be included into the URL"""))
+
+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"""))
+
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:

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