From 63c97f1429bfbe9e194e1a460cb06f149adff24d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 20 Nov 2020 12:30:42 +0000 Subject: [PATCH] Disallow following of news actor --- daemon.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/daemon.py b/daemon.py index 925dc2085..0bce66b1e 100644 --- a/daemon.py +++ b/daemon.py @@ -2066,6 +2066,11 @@ class PubServer(BaseHTTPRequestHandler): followingPort == port: if debug: print('You cannot follow yourself!') + elif followingrNickname == 'news' and \ + followingDomain == domain and \ + followingPort == port: + if debug: + print('You cannot follow the news actor') else: if debug: print('Sending follow request from ' +