diff options
| author | 2018-10-08 23:03:49 +0100 | |
|---|---|---|
| committer | 2018-10-08 23:03:49 +0100 | |
| commit | b144d5e37eb31ec5ce437a0e8945a90e88e14f2a (patch) | |
| tree | c53413202db867d9fa975989995caaf179073678 /src/IRCBot.py | |
| parent | Make git commit "add/mod/del" more concise (diff) | |
| signature | ||
Don't continue trying to use None data
Diffstat (limited to 'src/IRCBot.py')
| -rw-r--r-- | src/IRCBot.py | 2 |
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", |
