aboutsummaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorLibravatar Terry 2019-03-29 00:25:31 -0300
committerLibravatar Terry 2019-03-29 00:25:31 -0300
commitb1222f06fab180e9c124a9f2d07921348ec84f67 (patch)
tree264b9563674ba2c8519b31259e2cfffdbdcd673b /cgi
parented43a43c946003dbdf4c5eb10bf07a2ad76dccd1 (diff)
parent96567cf88befcd90a82c5cf5ed536c25ed5cddb9 (diff)
downloadweabot-b1222f06fab180e9c124a9f2d07921348ec84f67.tar.gz
weabot-b1222f06fab180e9c124a9f2d07921348ec84f67.tar.xz
weabot-b1222f06fab180e9c124a9f2d07921348ec84f67.zip
Merge branch 'master' of https://git.bienvenidoainternet.org/priv/www
Diffstat (limited to 'cgi')
-rwxr-xr-xcgi/weabot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi/weabot.py b/cgi/weabot.py
index 2e11252..056a933 100755
--- a/cgi/weabot.py
+++ b/cgi/weabot.py
@@ -668,9 +668,9 @@ class weabot(object):
if hide_end:
slips.append('-'.join(('****', '****')))
elif addressIsTor(ip):
- slips.append('-'.join(('****', getMD5(os.environ["HTTP_USER_AGENT"])[:4])))
+ slips.append('-'.join(('****', getMD5(self.environ["HTTP_USER_AGENT"])[:4])))
else:
- slips.append('-'.join((getMD5(ip)[:4], getMD5(os.environ["HTTP_USER_AGENT"])[:4])))
+ slips.append('-'.join((getMD5(ip)[:4], getMD5(self.environ["HTTP_USER_AGENT"])[:4])))
# host
if board["slip"] == '2':