src/conf.py: clear hosts4 & make hosts6 ::0

Closes #756
Fixes #935
This commit is contained in:
Mikaela Suomalainen 2014-12-13 11:07:14 +02:00
parent f65d742fee
commit 85e9935013

View File

@ -1148,10 +1148,10 @@ class IP(registry.String):
registry.String.setValue(self, v) registry.String.setValue(self, v)
registerGlobalValue(supybot.servers.http, 'hosts4', registerGlobalValue(supybot.servers.http, 'hosts4',
IP('0.0.0.0', _("""Space-separated list of IPv4 hosts the HTTP server IP('', _("""Space-separated list of IPv4 hosts the HTTP server
will bind."""))) will bind.""")))
registerGlobalValue(supybot.servers.http, 'hosts6', registerGlobalValue(supybot.servers.http, 'hosts6',
IP('', _("""Space-separated list of IPv6 hosts the HTTP server will IP('::0', _("""Space-separated list of IPv6 hosts the HTTP server will
bind."""))) bind.""")))
registerGlobalValue(supybot.servers.http, 'port', registerGlobalValue(supybot.servers.http, 'port',
registry.Integer(8080, _("""Determines what port the HTTP server will registry.Integer(8080, _("""Determines what port the HTTP server will