diff options
| author | 2018-11-27 12:16:36 +0000 | |
|---|---|---|
| committer | 2018-11-27 12:16:36 +0000 | |
| commit | 7c4b2b6c4e45659f8de2fdb7de03113c06eae3fc (patch) | |
| tree | 1f0ab49d8c1722e09cf83871f74df98caf2de160 /src | |
| parent | Use WHO/WHOX to also keep track of our own username/hostname (diff) | |
| signature | ||
Add .nickname/.username/.realname/.hostname to IRCServer
Diffstat (limited to 'src')
| -rw-r--r-- | src/IRCServer.py | 5 |
1 files changed, 5 insertions, 0 deletions
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] |
