git://git.novaco.in
/
electrum-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
1fcdbbb
)
fixes
author
ThomasV
<thomasv@gitorious>
Mon, 21 Nov 2011 09:42:40 +0000 (12:42 +0300)
committer
ThomasV
<thomasv@gitorious>
Mon, 21 Nov 2011 09:42:40 +0000 (12:42 +0300)
server.py
patch
|
blob
|
history
diff --git
a/server.py
b/server.py
index
f747599
..
d1ad953
100644
(file)
--- a/
server.py
+++ b/
server.py
@@
-447,7
+447,10
@@
def irc_thread():
s.send('PONG '+line[1]+'\n')
elif '353' in line: # answer to /names
k = line.index('353')
- k2 = line.index('366')
+ try:
+ k2 = line.index('366')
+ except:
+ continue
for item in line[k+1:k2]:
if item[0:2] == 'E_':
s.send('USERHOST %s\n'%item)