diff --git a/daemon.py b/daemon.py index 221a5c13c..37fe3ab9f 100644 --- a/daemon.py +++ b/daemon.py @@ -460,6 +460,8 @@ class PubServer(BaseHTTPRequestHandler): if self.headers.get('User-Agent'): agentDomain = userAgentDomain(self.headers['User-Agent'], self.server.debug) + else: + return True blockedUA = False if not agentDomain: if self.server.userAgentDomainRequired: