userdb -> checkPw($nick, $pw)){ $this -> userdb -> update($nick); $this -> call("notice", $nick, "You are now identified."); } else{ $this -> call("notice", $nick, "Wrong password or you have no account with this nickname."); } ?>