diff --git a/webapp_moderation.py b/webapp_moderation.py
index 554d598a8..63889536b 100644
--- a/webapp_moderation.py
+++ b/webapp_moderation.py
@@ -79,6 +79,10 @@ def htmlAccountInfo(cssCache: {}, translate: {},
infoForm += translate[msgStr1] + '
'
proxyType = 'tor'
+ if not os.path.isfile('/usr/bin/tor'):
+ proxyType = None
+ if domain.endswith('.i2p'):
+ proxyType = None
domainDict = getPublicPostInfo(None,
baseDir, searchNickname, searchDomain,
proxyType, searchPort,