From 7c4b2b6c4e45659f8de2fdb7de03113c06eae3fc Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 27 Nov 2018 12:16:36 +0000 Subject: [PATCH] Add .nickname/.username/.realname/.hostname to IRCServer --- src/IRCServer.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/IRCServer.py b/src/IRCServer.py index 2379ecc2..eb8922f4 100644 --- a/src/IRCServer.py +++ b/src/IRCServer.py @@ -22,6 +22,11 @@ class Server(IRCObject.Object): self.connection_params = connection_params self.name = None # type: typing.Optional[str] + self.nickname = None # type: typing.Optional[str] + self.username = None # type: typing.Optional[str] + self.realname = None # type: typing.Optional[str] + self.hostname = None # type: typing.Optional[str] + self._capability_queue = set([]) # type: typing.Set[str] self._capabilities_waiting = set([]) # type: typing.Set[str] self.capabilities = set([]) # type: typing.Set[str]