Add debug for IRC messages
This commit is contained in:
parent
62044869a3
commit
fab0166ad4
2
irc.py
2
irc.py
|
@ -101,9 +101,11 @@ class IRC(object):
|
|||
def _send(self, raw):
|
||||
""" Wrap and encode raw message to send """
|
||||
self._socket.send(f"{raw}\r\n".encode())
|
||||
logging.debug(f"_send: {raw}")
|
||||
|
||||
def _recv(self):
|
||||
m = self._inbox.get()
|
||||
logging.debug(f"_recv: {m}")
|
||||
return m
|
||||
|
||||
def _waitfor(self, condition):
|
||||
|
|
Loading…
Reference in New Issue