diff options
Diffstat (limited to 'service/http/config.go')
-rw-r--r-- | service/http/config.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/service/http/config.go b/service/http/config.go index 25be205c..ff15e83e 100644 --- a/service/http/config.go +++ b/service/http/config.go @@ -189,14 +189,6 @@ func (c *Config) IsTrusted(ip string) bool { return false } -func (c *Config) IsValid(ip string) bool { - i := net.ParseIP(ip) - if i == nil { - return false - } - return true -} - // Valid validates the configuration. func (c *Config) Valid() error { if c.Uploads == nil { |