diff --git a/irc.py b/irc.py index 778932c4af35fb290243ab7f1a74cf9ff776de4e..29cd528ee1d71a0f779a17a3f9a423f8e7a0e8d7 100644 --- a/irc.py +++ b/irc.py @@ -222,8 +222,8 @@ class IRC(asynchat.async_chat): elif words[1] == "422" or words[1] == "376": # We successfully logged in, do post-login procedures - if self.config["ns_name"] != "" and self.config["ns_pass"] != "": - self.doMessage("NickServ", "IDENTIFY "+self.config["ns_name"]+" "+self.config["ns_pass"]) + if self.config["ns_name"] != "" and self.config["ns_pwd"] != "": + self.doMessage("NickServ", "IDENTIFY "+self.config["ns_name"]+" "+self.config["ns_pwd"]) self.pluginManager.event("connect", self.config["network"])