mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-04 08:34:11 +01:00
Revert "conf: fix validation of multiple IP addresses"
This reverts commit ebb48a4808
.
This commit is contained in:
parent
f4cae9614f
commit
96694a31f6
@ -1241,7 +1241,7 @@ registerGroup(supybot.servers, 'http')
|
|||||||
class IP(registry.String):
|
class IP(registry.String):
|
||||||
"""Value must be a valid IP."""
|
"""Value must be a valid IP."""
|
||||||
def setValue(self, v):
|
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()
|
self.error()
|
||||||
else:
|
else:
|
||||||
registry.String.setValue(self, v)
|
registry.String.setValue(self, v)
|
||||||
|
Loading…
Reference in New Issue
Block a user