Revert "conf: fix validation of multiple IP addresses"

This reverts commit ebb48a4808.
This commit is contained in:
Valentin Lorentz 2017-10-28 09:32:52 +02:00
parent f4cae9614f
commit 96694a31f6

View File

@ -1241,7 +1241,7 @@ registerGroup(supybot.servers, 'http')
class IP(registry.String):
"""Value must be a valid IP."""
def setValue(self, v):
if v and not all(map(utils.net.isIP, v.split())):
if v and not utils.net.isIP(v):
self.error()
else:
registry.String.setValue(self, v)