Disallow following of news actor

This commit is contained in:
bashrc committed 2020-11-20 12:30:42 +00:00
1 parent 752f16f335
commit 63c97f1429
1 file changed
+5
+5
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 ' +