From bae98d1236be686c772818c6a2d258da777695fe Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 7 Feb 2019 17:41:10 +0000 Subject: [PATCH] Send `CAP LS` after we send `PASS` (if applicable) (src/IRCServer.py) --- src/IRCServer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/IRCServer.py b/src/IRCServer.py index 631092dc..4c8ffec2 100644 --- a/src/IRCServer.py +++ b/src/IRCServer.py @@ -119,11 +119,12 @@ class Server(IRCObject.Object): self.socket.connect((self.connection_params.hostname, self.connection_params.port)) self.cached_fileno = self.socket.fileno() - self.send_capibility_ls() if self.connection_params.password: self.send_pass(self.connection_params.password) + self.send_capibility_ls() + nickname = self.connection_params.nickname username = self.connection_params.username or nickname realname = self.connection_params.realname or nickname