mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +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):
|
||||
"""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)
|
||||
|
Loading…
Reference in New Issue
Block a user