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:
764c2d7
)
fix: line might be empty
author
ThomasV
<thomasv@gitorious>
Wed, 13 Jun 2012 20:12:09 +0000 (
00:12
+0400)
committer
ThomasV
<thomasv@gitorious>
Wed, 13 Jun 2012 20:12:09 +0000 (
00:12
+0400)
backends/irc/__init__.py
patch
|
blob
|
history
diff --git
a/backends/irc/__init__.py
b/backends/irc/__init__.py
index
edd9dc9
..
28e60d9
100644
(file)
--- a/
backends/irc/__init__.py
+++ b/
backends/irc/__init__.py
@@
-49,6
+49,7
@@
class IrcThread(threading.Thread):
line = sf.readline()
line = line.rstrip('\r\n')
line = line.split()
+ if not line: continue
if line[0]=='PING':
s.send('PONG '+line[1]+'\n')
elif '353' in line: # answer to /names