userdb -> isActive($nick)){ $this -> userdb -> updatePW($nick, $pw); $this -> call("notice", $nick, "Your new pw is now: ".$pw); } else{ $this -> call("notice", $nick, "You are not identified. Type /msg ".$this -> nick." identify in order to identify yourself"); } ?>