aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-29 16:11:47 +0100
committerGravatar jesopo2019-05-29 16:11:47 +0100
commitb8f778d7bd3072dc5f794d99c40c7e010f1fb915 (patch)
tree6c1ec578e5f6d8358c39e3d081841626fd3aeb25 /src
parentSwitch resume.py to use the last `server-time` it saw, not last .recv() (diff)
signature
Only try to send QUITs on ctrl+c when we're connected - sys.exit otherwise
Diffstat (limited to 'src')
-rw-r--r--src/IRCServer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/IRCServer.py b/src/IRCServer.py
index 041dc0d8..c970f5de 100644
--- a/src/IRCServer.py
+++ b/src/IRCServer.py
@@ -17,6 +17,7 @@ class Server(IRCObject.Object):
self.id = id
self.alias = alias
self.connection_params = connection_params
+ self.connected = False
self.name = None # type: typing.Optional[str]
self.version = None # type: typing.Optional[str]