diff options
author | kongr45gpen <electrovesta@gmail.com> | 2018-01-06 13:18:18 +0200 |
---|---|---|
committer | kongr45gpen <electrovesta@gmail.com> | 2018-01-06 13:19:18 +0200 |
commit | 4ac15ab8421c2c92322e715ffd1550203b212a21 (patch) | |
tree | 03fffd2c756411aaeaf188223ca4b946b71cd4d3 /config.py | |
parent | e04c3d95dd46a40af04e31a0020aec5f02043da3 (diff) | |
download | supybot_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.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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""")) |