Disallow following of news actor

main
Bob Mottram 2020-11-20 12:30:42 +00:00
parent 752f16f335
commit 63c97f1429
1 changed files with 5 additions and 0 deletions

View File

@ -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 ' +