From d7da2ca6e2d52c23e36797ec2e1a9466a56cb28b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 29 Nov 2021 10:10:52 +0000 Subject: [PATCH] Exit if matched --- daemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon.py b/daemon.py index 19188e93d..6eaf611ff 100644 --- a/daemon.py +++ b/daemon.py @@ -3215,6 +3215,7 @@ class PubServer(BaseHTTPRequestHandler): for possEnding in possibleEndings: if searchStr.endswith(possEnding): searchStr = searchStr.replace(possEnding, '') + break # your post history search nickname = getNicknameFromActor(actorStr) searchStr = searchStr.replace("'", '', 1).strip()