git://git.novaco.in
/
electrum-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
494bab5
)
* when I said IP, I meant IP, not hostnames.
author
Ovidiu Constantin
<ovidiu@mybox.ro>
Wed, 30 Nov 2011 14:59:21 +0000 (16:59 +0200)
committer
Ovidiu Constantin
<ovidiu@mybox.ro>
Wed, 30 Nov 2011 14:59:21 +0000 (16:59 +0200)
server.py
patch
|
blob
|
history
diff --git
a/server.py
b/server.py
index
88abd08
..
da2364c
100755
(executable)
--- 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)