From 27e2304ce129d6e9b4545242d622246712ba5a1e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 10 Dec 2020 10:28:30 +0000 Subject: [PATCH] Prefix --- daemon.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index 10e8fb78b..50e12e0fd 100644 --- a/daemon.py +++ b/daemon.py @@ -11013,7 +11013,7 @@ class PubServer(BaseHTTPRequestHandler): blockDomain = urllib.parse.unquote_plus(blockDomain.strip()) if '?' in blockDomain: blockDomain = blockDomain.split('?')[0] - addGlobalBlock(self.server.baseDir, nickname, blockDomain) + addGlobalBlock(self.server.baseDir, nickname, '*@' + blockDomain) self.server.GETbusy = False msg = \ htmlAccountInfo(self.server.cssCache, @@ -11046,7 +11046,8 @@ class PubServer(BaseHTTPRequestHandler): searchHandle = urllib.parse.unquote_plus(searchHandle) blockDomain = blockDomain.split('?handle=')[0] blockDomain = urllib.parse.unquote_plus(blockDomain.strip()) - removeGlobalBlock(self.server.baseDir, nickname, blockDomain) + removeGlobalBlock(self.server.baseDir, nickname, + '*@' + blockDomain) self.server.GETbusy = False msg = \ htmlAccountInfo(self.server.cssCache,