aboutsummaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2018-01-06 13:18:18 +0200
committerkongr45gpen <electrovesta@gmail.com>2018-01-06 13:19:18 +0200
commit4ac15ab8421c2c92322e715ffd1550203b212a21 (patch)
tree03fffd2c756411aaeaf188223ca4b946b71cd4d3 /config.py
parente04c3d95dd46a40af04e31a0020aec5f02043da3 (diff)
downloadsupybot_github-4ac15ab8421c2c92322e715ffd1550203b212a21.tar.gz
supybot_github-4ac15ab8421c2c92322e715ffd1550203b212a21.tar.bz2
supybot_github-4ac15ab8421c2c92322e715ffd1550203b212a21.zip
Add configuration value to specify the binding address of the HTTP server
Implements #24
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 b7faba3..31c11bc 100644
--- a/config.py
+++ b/config.py
@@ -59,6 +59,10 @@ conf.registerChannelValue(Github, 'showSuccessfulDeployMessages',
registry.String('always',
"""Whether to show successful deployment messages - can be never, change or always"""))
+conf.registerGlobalValue(Github, 'address',
+ registry.String('',
+ """The IP address or hostname to which the HTTP server will bind. The default empty value ('') should work for most cases."""))
+
conf.registerGlobalValue(Github, 'port',
registry.Integer(8093,
"""The port where Github will send HTTP requests"""))

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