From 9571c3f9fabaa8459f6bb891cd7ba0d9eed3ecb4 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 5 Nov 2018 20:18:06 +0000 Subject: [PATCH] Update IRCServer.__repr__ to use connection_params --- src/IRCServer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/IRCServer.py b/src/IRCServer.py index 76b62c7c..65efb2d0 100644 --- a/src/IRCServer.py +++ b/src/IRCServer.py @@ -60,7 +60,8 @@ class Server(IRCObject.Object): if self.alias: return self.alias return "%s:%s%s" % (self.connection_params.hostname, - "+" if self.tls else "", self.port) + "+" if self.connection_params.tls else "", + self.connection_params.port) def fileno(self): return self.cached_fileno or self.socket.fileno()