Send CAP LS after we send PASS (if applicable) (src/IRCServer.py)

This commit is contained in:
jesopo 2019-02-07 17:41:10 +00:00
parent 53a819512f
commit bae98d1236

View file

@ -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