aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar jesopo2018-10-08 23:03:49 +0100
committerGravatar jesopo2018-10-08 23:03:49 +0100
commitb144d5e37eb31ec5ce437a0e8945a90e88e14f2a (patch)
treec53413202db867d9fa975989995caaf179073678 /src
parentMake git commit "add/mod/del" more concise (diff)
signature
Don't continue trying to use None data
Diffstat (limited to 'src')
-rw-r--r--src/IRCBot.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/IRCBot.py b/src/IRCBot.py
index 73da3407..d3e98b23 100644
--- a/src/IRCBot.py
+++ b/src/IRCBot.py
@@ -167,6 +167,8 @@ class Bot(object):
data = sock.read()
if data == None:
sock.disconnect()
+ continue
+
for piece in data:
if irc:
self.log.debug("%s (raw) | %s",