Support SERVER_PASS without placeholders
Sometimes a connection password which is different than nickserv password is required. This supports that now.
This commit is contained in:
parent
dfa310850f
commit
33b2e26c15
@ -187,6 +187,9 @@ class IRCClient:
|
||||
account=self.authname if self.authname else self.nickname,
|
||||
password=self.password)
|
||||
self.send(message)
|
||||
elif self.server_pass:
|
||||
message = "PASS :{0}".format(self.server_pass)
|
||||
self.send(message)
|
||||
|
||||
self.send("NICK", self.nickname)
|
||||
self.user(self.ident, self.real_name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user