diff options
-rwxr-xr-x | cgi/weabot.py | 4 |
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': |