diff --git a/irc.py b/irc.py index aca523a..3f96b60 100644 --- a/irc.py +++ b/irc.py @@ -94,7 +94,8 @@ class IRC(object): self._send(m.replace("PING", "PONG")) # Or add a new message to inbox elif len(m): - self._inbox.put(m) + if store: + self._inbox.put(m) logging.debug(f"received {m}") def _send(self, raw):