diff options
| author | 2019-02-11 20:49:53 +0000 | |
|---|---|---|
| committer | 2019-02-11 20:49:53 +0000 | |
| commit | a8d9365442d991be438547a6d9c8a0ef05dbbb60 (patch) | |
| tree | b2c0a05a003e37a2657780725d0bb0ea985c9e06 /src/IRCSocket.py | |
| parent | `socket.getpeername()` can return more than 2 values (IRCSocket) (diff) | |
| signature | ||
last_read/last_send is now handled by IRCSocket.py
Diffstat (limited to 'src/IRCSocket.py')
| -rw-r--r-- | src/IRCSocket.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/IRCSocket.py b/src/IRCSocket.py index dcc61d31..dabfc8b3 100644 --- a/src/IRCSocket.py +++ b/src/IRCSocket.py @@ -35,6 +35,9 @@ class Socket(IRCObject.Object): self.bytes_written = 0 self.bytes_read = 0 + self.last_read = time.monotonic() + self.last_send = None # type: typing.Optional[float] + self.connected_ip = None def fileno(self) -> int: |
