From 16bcfd38864163fb1f5835a28f1213ccfe744942 Mon Sep 17 00:00:00 2001 From: Ovidiu Constantin Date: Wed, 30 Nov 2011 16:59:21 +0200 Subject: [PATCH] * when I said IP, I meant IP, not hostnames. --- server.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/server.py b/server.py index 88abd08..da2364c 100755 --- a/server.py +++ b/server.py @@ -463,6 +463,7 @@ def irc_thread(): # warning: this is a horrible hack which apparently works k = line.index('352') ip = line[k+4] + ip = socket.gethostbyname(ip) name = line[k+6] host = line[k+9] peer_list[name] = (ip,host) -- 1.7.1